Re: Puzzled by code pages

2010-05-15 Thread Martin v. Loewis
> Conclusions: > > It's worth closely scrutinising "accented characters - equivalent to > ISO-8859-2 > (I believe)". Which variety of "OpenStep plist files" are you looking at: > NeXTSTEP, GNUstep, or MAC OS X? If the latter, it's evidently an XML document, > and you should be letting the XML pa

Re: Puzzled by code pages

2010-05-15 Thread John Machin
Adam Tauno Williams whitemice.org> writes: > On Fri, 2010-05-14 at 20:27 -0400, Adam Tauno Williams wrote: > > I'm trying to process OpenStep plist files in Python. I have a parser > > which works, but only for strict ASCII. However plist files may contain > > accented characters - equivalent t

Re: Puzzled by code pages

2010-05-15 Thread Mark Tolonen
"Adam Tauno Williams" wrote in message news:1273932760.3929.18.ca...@linux-yu4c.site... On Sat, 2010-05-15 at 20:30 +1000, Lie Ryan wrote: On 05/15/10 10:27, Adam Tauno Williams wrote: [snip] Yep. But in the interpreter both unicode() and repr() produce the same output. Nothing displays

Re: Puzzled by code pages

2010-05-15 Thread Lie Ryan
On 05/16/10 00:12, Adam Tauno Williams wrote: > On Sat, 2010-05-15 at 20:30 +1000, Lie Ryan wrote: >> On 05/15/10 10:27, Adam Tauno Williams wrote: >>> I'm trying to process OpenStep plist files in Python. I have a parser >>> which works, but only for strict ASCII. However plist files may contain

Re: Puzzled by code pages

2010-05-15 Thread Adam Tauno Williams
On Sat, 2010-05-15 at 20:30 +1000, Lie Ryan wrote: > On 05/15/10 10:27, Adam Tauno Williams wrote: > > I'm trying to process OpenStep plist files in Python. I have a parser > > which works, but only for strict ASCII. However plist files may contain > > accented characters - equivalent to ISO-8859

Re: Puzzled by code pages

2010-05-15 Thread Lie Ryan
On 05/15/10 10:27, Adam Tauno Williams wrote: > I'm trying to process OpenStep plist files in Python. I have a parser > which works, but only for strict ASCII. However plist files may contain > accented characters - equivalent to ISO-8859-2 (I believe). For example > I read in the line: >

Re: Puzzled by code pages

2010-05-14 Thread Kelly
Buy high quality TAG Heuer Tiger Woods Golf Watches at low price, you can not believe, but it is true. There are two models on http://www.luxuryowner.net/Replica-TAG-Heuer-Tiger-Woods-Golf-Watches.html White: Tag Heuer Tiger Woods Golf White Mens Watch WAE1112.FT6008: http://www.luxuryowner.net

Re: Puzzled by code pages

2010-05-14 Thread Adam Tauno Williams
On Fri, 2010-05-14 at 20:27 -0400, Adam Tauno Williams wrote: > I'm trying to process OpenStep plist files in Python. I have a parser > which works, but only for strict ASCII. However plist files may contain > accented characters - equivalent to ISO-8859-2 (I believe). For example > I read in th

Puzzled by code pages

2010-05-14 Thread Adam Tauno Williams
I'm trying to process OpenStep plist files in Python. I have a parser which works, but only for strict ASCII. However plist files may contain accented characters - equivalent to ISO-8859-2 (I believe). For example I read in the line: >>> handle = open('file.txt', 'rb') >>> data = handle.read()