Ticket #60 (new defect) — at Initial Version
Character encoding problems with the 'description' attribute
Reported by: | jerome | Owned by: | jerome |
---|---|---|---|
Priority: | minor | Milestone: | 1.27 final |
Component: | pykota | Version: | development |
Keywords: | Cc: |
Description
{{{pkusers --add --description "tététtétééé" toto
Création...
ERROR: PyKota v1.27alpha8_unofficial
ERROR: pkusers failed
ERROR: Traceback (most recent call last):
ERROR: File "/usr/lib/python2.5/site-packages/pykota/utils.py", line 163, in run
ERROR: retcode = application.main(arguments, options)
ERROR: File "/usr/bin/pkusers", line 249, in main
ERROR: useremail or options.email)
ERROR: File "/usr/bin/pkusers", line 44, in modifyEntry
ERROR: entry.setDescription(description)
ERROR: File "/usr/lib/python2.5/site-packages/pykota/storage.py", line 44, in setDescription
ERROR: self.Description = str(description)
ERROR: UnicodeEncodeError?: 'ascii' codec can't encode character u'\xe9' in position 1: ordinal not in range(128)
}}}