ID 138430 - The export will fail with an error when unicode characters are in the filepath in Windows

Follow

Problem summary:
An export can fail when non-ascii characters are in the file path while rendering in Nuke Studio/Hiero.

This has been shown to occur predominantly within the use of non-English language versions of Windows. (For example Japanese or Russian)

Update: Microsoft has released a fix in Windows 10 that resolves the issue, Unfortunately, the issue still occurs in Windows 7 and 8.
 

Customer reported version:
Nuke11.2.v5
 

Customer reported platform:
Windows 10
 

Steps to reproduce:

1) From Nuke Studio/Hiero, create a script using non-ascii characters.

2) Export the script and observe the output for any errors.


Workaround:

As the issue is generally associated to the Windows language version and its interpretation of the uni-code, it is possible to change the interpretation of the uni-code within Windows.

To do this follow the below steps.

For Windows 10:

  1. Open the Settings Panel
  2. Select the Time & Language option
  3. Select the Region option on the left-hand side
  4. Click Additional date, time, & regional settings under the heading Related settings in the top right of the window

  5. Click on Region

  6. Select the Administrative tab

  7. Within the field that says Current language for non-Unicode programs, ensure that it says English (United States).


For Windows 7:
  1. Open the Control Panel
  2. Select the Region applet
  3. Select the Administrative tab
  4. Within the field that says Current language for non-Unicode programs, ensure that it says English (United States).

Reproduced by Support in:

Nuke 11.3v2 - Windows 10
Nuke 11.2v5 - Windows 10
Nuke 11.2v1 - Windows 10
Nuke 11.1v6 - Windows 10
Nuke 11.1v1 - Windows 10
Nuke 11.0v4 - Windows 10
Nuke 11.0v1 - Windows 10 - regression


Earliest version tested:
10.5v8 - This issue no longer occurs and has regressed.
 

Expected behavior:
The export should render all available files without giving an error.


Actual behavior:
The export fails with an error: "RuntimeError: 'ascii' codec can't decode byte 0xcf in position 11: ordinal not in range(128)"

    We're sorry to hear that

    Please tell us why