Hello everyone,
I try without success to print non-ascii characters to the console.
aStr = 'schönes Wetter'
uStr = aStr.decode('latin-1') (or simpler: uStr = u'schönes Wetter')
print uStr
results in
>>> schXXnes Wetter (XX indicating non-printable characters)
On desktop Python installations the screen output is as desired:
>>> schönes Wetter
Whatever decoding I do, I can not manage to get the desired result on Windows
CE. Is this an encoding/decoding problem I am unable to handle properly or
rather a limitation of PythonCE or the operating system (WM6)?
sys.stdout.encoding is alway set to 'ascii' and I dont know how to change it.
Some article I recently read discouraged from changing the default encoding ?!
I would appreciate any help.
Wolfgang
_______________________________________________
PythonCE mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pythonce