Re: Unicode Pythonwin / win32 / console?

2006-01-13 Thread Martin v. Löwis
Robert wrote: * Webbrowsers for example have to display defective HTML as good as possible, unknown unicode chars as ? and so on... Users got very angry in the beginning of browsers when 'strict' programmers displayed their exception error boxes ... Right. If you would develop a webbrowser in

Re: Unicode Pythonwin / win32 / console?

2006-01-12 Thread Robert
Martin v. Löwis schrieb: Robert wrote: is in a PythonWin Interactive session - ok results for cyrillic chars (tolerant mbcs/utf-8 encoding!). But if I do this on Win console (as you probably mean), I get also encoding Errors - no matter if chcp1251, because cyrillic chars raise the

Re: Unicode Pythonwin / win32 / console?

2006-01-11 Thread Robert
Martin v. Löwis schrieb: Robert wrote: win32ui.MessageBox(s) Traceback (most recent call last): File interactive input, line 1, in ? UnicodeEncodeError: 'ascii' codec can't encode characters in position 12-16: ordinal not in range(128) Can't comment on that - this is a PythonWin

Re: Unicode Pythonwin / win32 / console?

2006-01-11 Thread Martin v. Löwis
Robert wrote: is in a PythonWin Interactive session - ok results for cyrillic chars (tolerant mbcs/utf-8 encoding!). But if I do this on Win console (as you probably mean), I get also encoding Errors - no matter if chcp1251, because cyrillic chars raise the encoding errors also. If you do

Re: Unicode Pythonwin / win32 / console?

2006-01-10 Thread Robert
Martin v. Löwis schrieb: Robert wrote: I'm using Pythonwin and py2.3 (py2.4). I did not come clear with this: I want to use win32-fuctions like win32ui.MessageBox, listctrl.InsertItem . to get unicode strings on the screen - best results according to the platform/language settings

Re: Unicode Pythonwin / win32 / console?

2006-01-10 Thread Martin v. Löwis
Robert wrote: Also unicode strings should be displayed as nice as possible at the console with normal print-s to stdout (on varying platforms, different windows/countries and linux, ...; I py2exe/cxfreeze apps) ... Any hints how to do this and make it as complete and automated as possible? No

Unicode Pythonwin / win32 / console?

2006-01-09 Thread Robert
Hello, I'm using Pythonwin and py2.3 (py2.4). I did not come clear with this: I want to use win32-fuctions like win32ui.MessageBox, listctrl.InsertItem . to get unicode strings on the screen - best results according to the platform/language settings (mainly XP Home, W2K, ...). Also unicode

Re: Unicode Pythonwin / win32 / console?

2006-01-09 Thread Martin v. Löwis
Robert wrote: I'm using Pythonwin and py2.3 (py2.4). I did not come clear with this: I want to use win32-fuctions like win32ui.MessageBox, listctrl.InsertItem . to get unicode strings on the screen - best results according to the platform/language settings (mainly XP Home, W2K, ...).