Re: Reading Windows CSV file with LCID entries under Linux.

2008-09-22 Thread Tim Golden
Thomas Troeger wrote: I've stumbled over a problem with Windows Locale ID information and codepages. I'm writing a Python application that parses a CSV file, the format of a line in this file is "LCID;Text1;Text2". Each line can contain a different locale id (LCID) and the text fields contain da

Re: Reading Windows CSV file with LCID entries under Linux.

2008-09-22 Thread skip
Thomas> My question is: How can I convert this data into something more Thomas> reasonable like unicode? Basically, what I want is something Thomas> like "Text1;Text2", both fields encoded as UTF-8. Can this be Thomas> done with Python? How can I find out which codepage I have to

Reading Windows CSV file with LCID entries under Linux.

2008-09-22 Thread Thomas Troeger
Dear all, I've stumbled over a problem with Windows Locale ID information and codepages. I'm writing a Python application that parses a CSV file, the format of a line in this file is "LCID;Text1;Text2". Each line can contain a different locale id (LCID) and the text fields contain data that is