ID 514655 - ASCII decoding error when reloading/reverting saved Katana project

Follow

Problem summary
Shaders containing non-ASCII characters in parameter labels will prevent the project from being re-opened/reverted and produce a decoding error.
 
Customer reported version
katana.n_a
 
Customer reported platform
rhel7
 
Steps to reproduce
  1. Set the RMAN_SHADERPATH environment variable to the folder containing the BrokenAscii.oso shader file. (contains a superscript 3 character: ³)
  2. Create a NetworkMaterialCreate node.
  3. Add the BrokenAscii shading node.
  4. Save the Katana file.
  5. File > Revert
 
Expected behaviour
Upon reverting, the project would load without producing an error.
 
Actual behaviour
The following error is produced:
[ERROR python.UI4.Util.FileHelpers]: 'ascii' codec can't decode byte 0xc2 in position 25232: ordinal not in range(128)
 

 
Workaround
Set PYTHONUTF8=1 in Katana's environment.
 
Reproduced by support
This bug has been reproduced in:
Katana 5.0v3 - CentOS 7
 
Unable to reproduce bug in:
Katana 5.0v3 - Windows 10
Katana 4.5v3 - Windows 10, CentOS 7
 
Earliest version tested
Katana 4.5v3 - This issue doesn't appear in this version and has regressed
 

    We're sorry to hear that

    Please tell us why