Hi!

----- Original Message ----- 
From: "Mark Hammond" <[EMAIL PROTECTED]>
To: "'Marc-André Belzile'" <[EMAIL PROTECTED]>; 
<[email protected]>
Sent: Thursday, June 21, 2007 8:32 AM
Subject: Re: [python-win32] pywin and UCS2/UCS4



> As far as I know, since Windows itself is UCS2


When I had wrapper the shell of windows (french version), I found this :
  - normally, windows return   cp850  strings
  - if necessary, windows return  utf-16  (UCS2)  strings.

But nothing give the information.
Perhaps it's possible to (binary) read  the begin of string ; if start with 
chr(0)+chr(4)  there are strong chances so that it is utf-16


@-salutations

Michel Claveau


_______________________________________________
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to