Problem with saving files in Unicode

Bug #329929 reported by Vladimir Kolev
2
Affects Status Importance Assigned to Milestone
ofed
Fix Released
Low
Vladimir Kolev

Bug Description

Traceback (most recent call last):
  File "./ofed.py", line 146, in OnSave
    utftext = text.decode('utf-8') # devode the text to Unicode, since the forums mostly use Unicode text encoding
  File "/usr/lib/python2.5/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0412' in position 0: ordinal not in range(128)

Related branches

Changed in ofed:
assignee: nobody → vladimir.kolev
importance: Undecided → Critical
Revision history for this message
Vladimir Kolev (vladimir.kolev) wrote :

Fixed in 0.2 release with Commit 2

Changed in ofed:
status: New → Fix Committed
Changed in ofed:
status: Fix Committed → Fix Released
Changed in ofed:
importance: Critical → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.