Python cannot print - Re: Unicode style in win32/PythonWin

2006-01-15 Thread Robert
Neil Hodgson schrieb: > Thomas Heller: > > > Hm, I don't know. I try to avoid converting questionable characters at > > all, if possible. Then, it seems the error-mode doesn't seem to change > > anything with "mbcs" encoding. WinXP, Python 2.4.2 on the console: > > > u"abc\u034adef".encode(

Re: Unicode style in win32/PythonWin

2006-01-13 Thread Neil Hodgson
Thomas Heller: > Hm, I don't know. I try to avoid converting questionable characters at > all, if possible. Then, it seems the error-mode doesn't seem to change > anything with "mbcs" encoding. WinXP, Python 2.4.2 on the console: > u"abc\u034adef".encode("mbcs", "ignore") > 'abc?def'

Re: Unicode style in win32/PythonWin

2006-01-13 Thread Thomas Heller
"Robert" <[EMAIL PROTECTED]> writes: > Thomas Heller schrieb: >> So after these assignments: >> >> ctypes.windll.user32.MessageBoxW.argtypes = (c_int, c_wchar_p, >>c_wchar_p, c_int) >> ctypes.windll.user32.MessageBoxA.argtypes = (c_int, c_char_p

Re: Unicode style in win32/PythonWin

2006-01-13 Thread Robert
Thomas Heller schrieb: > "Robert" <[EMAIL PROTECTED]> writes: > > > Neil Hodgson wrote: > >> Robert: > >> > >> > After "is_platform_unicode = ", scintilla displays some unicode > >> > as you showed. but the win32-functions (e.g. MessageBox) still do not > >> > pass through wide unicode. > >> > >>

Re: Unicode style in win32/PythonWin

2006-01-12 Thread Thomas Heller
"Robert" <[EMAIL PROTECTED]> writes: > Neil Hodgson wrote: >> Robert: >> >> > After "is_platform_unicode = ", scintilla displays some unicode >> > as you showed. but the win32-functions (e.g. MessageBox) still do not >> > pass through wide unicode. >> >> Win32 issues are better discussed on th

Unicode style in win32/PythonWin

2006-01-12 Thread Robert
Neil Hodgson wrote: > Robert: > > > After "is_platform_unicode = ", scintilla displays some unicode > > as you showed. but the win32-functions (e.g. MessageBox) still do not > > pass through wide unicode. > > Win32 issues are better discussed on the python-win32 mailing list > which is read by