It is impossible use Unicode symbols in the "Text" source
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
It is impossible use Unicode symbols in the "Text" source from the python or directly from the GUI:
Example 1:
Text1 = Text() Text1.Text = 'Diff\xe9rence' RenderView1 = GetRenderView() DataRepresentation1 = Show() Render()
Example 2:
Menu Source -> Text, Insert the "Différence" string in the 'Text' area Click on Apply
In the result appears "Output Message" window with the following log:
Generic Warning: In /misc/dn20/salome/rnv/PRODUCTS_BUILD/ParaView-4.1.0_SRC/VTK/Common/Core/vtkUnicodeString.cxx, line 183 vtkUnicodeString::from_utf8(): not a valid UTF-8 string.
Generic Warning: In /misc/dn20/salome/rnv/PRODUCTS_BUILD/ParaView-4.1.0_SRC/VTK/Common/Core/vtkUnicodeString.cxx, line 183 vtkUnicodeString::from_utf8(): not a valid UTF-8 string.
Generic Warning: In /misc/dn20/salome/rnv/PRODUCTS_BUILD/ParaView-4.1.0_SRC/VTK/Common/Core/vtkUnicodeString.cxx, line 183 vtkUnicodeString::from_utf8(): not a valid UTF-8 string.
Generic Warning: In /misc/dn20/salome/rnv/PRODUCTS_BUILD/ParaView-4.1.0_SRC/VTK/Common/Core/vtkUnicodeString.cxx, line 183 vtkUnicodeString::from_utf8(): not a valid UTF-8 string.
ERROR: In /misc/dn20/salome/rnv/PRODUCTS_BUILD/ParaView-4.1.0_SRC/VTK/Rendering/FreeType/vtkTextActor.cxx, line 803 vtkTextActor (0x36e3d80): Cannot compute bounding box.
Generic Warning: In /misc/dn20/salome/rnv/PRODUCTS_BUILD/ParaView-4.1.0_SRC/VTK/Common/Core/vtkUnicodeString.cxx, line 183 vtkUnicodeString::from_utf8(): not a valid UTF-8 string.