[python-win32] question about DynamicPolicy.py

Mark Hammond mhammond at skippinet.com.au
Mon Feb 5 00:28:26 CET 2007


That's correct - it is no longer necessary to convert unicode to ascii for
pywin32's sake.  You may have other reasons to perform either that
conversion or a completely different conversion, but again, not because
pywin32 insists.

Cheers,

Mark
  -----Original Message-----
  From: python-win32-bounces at python.org
[mailto:python-win32-bounces at python.org]On Behalf Of k f
  Sent: Saturday, 3 February 2007 4:03 AM
  To: python-win32 at python.org
  Subject: [python-win32] question about DynamicPolicy.py


  Greetings,

  In Chapter 12 of "Python Programming on Win32" there is a sample code
demonstrating how to expose a python module in a COM server.  A function
named FixArgs is used in the example to convert Unicode string to ascii
string.  I'm guessing this is no longer necessary for the recent versions of
python.  Btw, I'm using version 2.5. Can anyone confirm this? Thank you.

  --
  Kelie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20070205/fbdcc3d4/attachment.html 


More information about the Python-win32 mailing list