Re: [Pythonmac-SIG] Unicode and split

2008-05-23 Thread Jeremy Reichman
Thanks to everyone who replied! I'll take a further look into the encoding of the file because I'm interested in that for other reasons. In the output I saw, u"\xe1" (and a few others I found after sending my note) were prevalent around the splits. For the moment, though, I've solved my immediate

[Pythonmac-SIG] Fwd: Problem with CoreGraphics and py2app

2008-05-23 Thread João Leão
Begin forwarded message: Hi I'm running Mac OS X 10.5.2 on a G4 MacBook and I didn't install any addons in what concerns Python. I was happy to see that apple is now including PyObjc and py2app. I tried to build applications with py2app from my old CoreGraphics scripts (made on 10.4 / pyt

[Pythonmac-SIG] Problem with CoreGraphics and py2app

2008-05-23 Thread João Leão
Hi I'm running Mac OS X 10.5.2 on a G4 MacBook and I didn't install any addons in what concerns Python. I was happy to see that apple is now including PyObjc and py2app. I tried to build applications with py2app from my old CoreGraphics scripts (made on 10.4 / python2.3) that used to work o

Re: [Pythonmac-SIG] Unicode and split

2008-05-23 Thread Christopher Barker
Jeremy Reichman wrote: I have some characters in line strings in a file I'm processing that appear to be Unicode. (When I print them to the shell from my script, they are Asian characters for files like fonts in the Mac OS X filesystem.) When I run a.split() on the affected line strings, they sp

[Pythonmac-SIG] Unicode and split

2008-05-23 Thread Jeremy Reichman
I have some characters in line strings in a file I'm processing that appear to be Unicode. (When I print them to the shell from my script, they are Asian characters for files like fonts in the Mac OS X filesystem.) When I run a.split() on the affected line strings, they split on what I'm guessing