Skip to content

replaced str() objects with unicode() objects

Jonathan Wiedemann requested to merge github/fork/rigid/patch-1 into master

Created by: rigid

replaced str() with unicode() to respect QtGui.QApplication.UnicodeUTF8 and to prevent:

File "/usr/lib64/freecad-9999/Mod/Ship/Instance.py", line 48, in __init__
    QtGui.QApplication.UnicodeUTF8))
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode character u'\xfc' in position 20: ordinal not in range(128)

Merge request reports