encoding problem

[email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.