encoding problem
| Newsgroups | gmane.comp.python.windows-ce |
|---|---|
| Message-ID | <[email protected]> |
Dear members! I write an application for polisters in PythonCE 2.5 I use hungarian characters in my program. #!/usr/bin/python # -*- coding: latin2 -*- import os, sys print sys.getdefaultencoding() print sys.getfilesystemencoding() print "öôóüűúéíáÖÔÓÜŰÚÉÍÁ" The result is the folowing: mbcs ascii and a lot of rectangles. So, I tred with iso8859-2, utf-8, with same result. sys.setdefaultencoding() procedure doesnt exists. I'd like use it with tkinter and sqlite. How can I use custom characterset with this version? thanks PAZO mondoka.hu