As far as I know, Windows is treated a little differently than other
operating systems - since Windows itself is UCS2, Python will only support
UCS2.  pywin32 would break in all kinds of ways, as we assume a Python
Unicode object's data can be passed directly to Unicode win32 functions,
whereas UCS4 would require encoding into a temporary buffer.  OTOH, if you
are simply asking about "side by side", then using a UCS2 and UCS4 build on
the same machine should be no different to 2 UCS2 builds on the same
machine.
 
Cheers,
 
Mark

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marc-André Belzile
Sent: Tuesday, 19 June 2007 11:55 PM
To: [email protected]
Subject: [python-win32] pywin and UCS2/UCS4


Hi,
 
I'm in a process of evaluating the feasibility of supporting python compiled
for UCS4 with our application. We want to make interoperability possible
with other applications which may support python in a different unicode
version. Is it possible to use pywin with different python builds (UCS2 and
UCS4) installed on the same machine ? 
 
Thanks for your help.
 
-mab

<<attachment: winmail.dat>>

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

Reply via email to