PyShell + Umlauts

Henning.Ramm:

======= 2005-04-05 17:01:41 Henning.Ramm wrote: =======

Are you sure when you type umlaut, the umlaut is encoded
in utf-8? Maybe you should set the encoding to your local encoding.

I guess so, otherwise it wouldn't show as two chars, would it?

  but AFAIK, non-ASCII character is encoded into 3 bytes(3 chars), at least it's true for chinese characters.

    you can test encoding for umlaut:

s='*' <--- * is umlaut
s.decode('utf-8')

if no errors, umlaut is encoded in utf-8, otherwise it's encoded in your local encoding.

BTW our spam filter eats your mails, probably because of chinese
characters in unsupported gb2312 encoding (how about UTF-8?),

that's hotmail's advertisement in Chinese which is added automatically by hotmail. Add I don't know how to get rid of it, :-<

perhaps hotmail.com increases the spam rating...

Best regards,
Henning Hraban Ramm
S?dkurier Medienhaus / MediaPro
Support/Admin/Development Dept.

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

.

= = = = = = = = = = = = = = = = = = = =
      
Bruce Who
HuXuZhao@hotmail.com
2005-04-05