ID 364452 - A crash occurs when decoding a non-UTF character or symbol in a Text node

Follow

Problem summary:
A crash occurs when decoding a non-UTF character or symbol in a Text node.
 

Customer reported version:
nuke.11.1v3


Customer reported platform:
fedora
 

Steps to reproduce:

1. In Nuke, create a Text node.

2. Select the Text node and press 1 on the keyboard to view it.

3. Open the Properties bin, then copy & paste the following into the 'message' field of the text node:[python  {nuke.thisNode()['label'].value().decode('utf-8')}]​ (This text should not be visible in the Viewer)

4. In the Properties bin of the Text node, select the 'Node' tab.

5. Press Alt + Numpad 1​to create a non-UTF character, and observe performance.
 

Reproduced by Support in:

Nuke 11.2v3 - Windows 10, CentOS 7, macOS 10.13 High Sierra

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

Nuke 10.5v7 - Windows 10

Nuke 10.5v1 - Windows 10

Nuke 9.0v9 - Windows 10

Nuke 8.0v1 - Windows 10

Nuke 7.0v10 - Windows 10, CentOS 7, macOS 10.13 High Sierra
 

Earliest version tested:
Nuke 7.0v10 Windows 10 - This issue appears to be in all versions of the product
 

Expected behavior:
The text should appear with the correct symbol/character when viewing the decoded text.
 

Actual behavior:
Nuke crashes when decoding a non-UTF character or symbol.

 

    We're sorry to hear that

    Please tell us why