[python-win32] Properly encoded HTML from MSXML XLST processor into python string (via IStream) ?

2007-09-10 Thread Andreas Neubauer
Dear all, Using the Microsoft XML core services (MSXML 4.0) as an XSLT-processor for python i got into a trap when trying to generate properly unicode(UTF-8) encoded HTML: The encoding statement gets lost in the HTML header, and white-spaces UTF-8: HEX code C2 A0 convert to A0. Testing and

Re: [python-win32] Properly encoded HTML from MSXML XLST processor into python string (via IStream) ?

2007-09-10 Thread Tim Roberts
Andreas Neubauer wrote: > > Dear all, > Using the Microsoft XML core services (MSXML 4.0) as an XSLT-processor > for python > i got into a trap when trying to generate properly unicode(UTF-8) > encoded HTML: > The encoding statement gets lost in the HTML header, and > white-spaces UTF-8: HEX code

[python-win32] High Baud Rate Serial Port Question

2007-09-10 Thread Roger Upole
Jeff Taylor wrote: > I know this has probably been brought up many years ago, but I'm rather > new to Python. > > Is there a way to open a serial port with a baudrate greater than > 115.2kbps? I'm currently using pyserial and it can handle over 115.2, > but when it calls win32file, win32file gi

[python-win32] Properly encoded HTML from MSXML XLST processor into

2007-09-10 Thread Roger Upole
See this thread for some discussion and examples of creating an object that implements IStream: http://mail.python.org/pipermail/python-win32/2007-August/006166.html Future builds will also have pythoncom.CreateStreamOnHGlobal for a quick and simple way to create an in-memory IStream. Rog