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
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
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
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
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
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
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
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, ...).