Hi Hope somone can help me. Using Python 2.5 and PyWin32-210 PythonScript .asp page on IIS and Windows XP I'm puzzled....
A Scripting.Dictionary is created and assigned to as Session variable in vb script. This dictionary is populated by reading a file. In the PythonScript this Session object is read an displayed. The foreign characters are all messed up and that's the problem of course. Now - the text items in the Session Object are reported to be of type Unicode (by the python type(x) function). The problem seems to be that the text Python is trying to interprete as Unicode is NOT Unicode at all. The original file is of type UTF-8 (I tried Windows-1252 too) and the code doesn't even read the file if I convert it to Unicode - returning an empty Dictionary. The same code seem to work fine on a Windows 2003 for some reason.... Anyone know what's going on and what to do? Best regards, Bjarni Ragnarsson _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32