Re: [Pythonmac-SIG] unicode problem w/pyapp 2.5 vs 2.6

2009-02-21 Thread has
tom wible wrote: i've recently installed 2.6 on my minimac pvr, and it raised a unicode issue: under 2.5, the filename returned from an applescript.app is plain text: [...] >>> sfn u'New York Goes To War_Jan_17_2009__08_00_26-1_AM.m2t' [...] but under 2.6: [...] >>> sfn u'\u4e00\u6500\u77

Re: [Pythonmac-SIG] unicode problem w/pyapp 2.5 vs 2.6

2009-02-21 Thread Nicholas Riley
On Sat, Feb 21, 2009 at 07:44:12AM -0500, tom wible wrote: > i had simply copied aem from the 2.5 site-packages to the 2.6's...is there > something i missed in doing that? some data is ok (the dates) Looks like you might have a UCS-4 version of one Python and a UCS-2 version of the other. Extens

[Pythonmac-SIG] unicode problem w/pyapp 2.5 vs 2.6

2009-02-21 Thread tom wible
i've recently installed 2.6 on my minimac pvr, and it raised a unicode issue: under 2.5, the filename returned from an applescript.app is plain text: tomsdvr:/DVR/recordings dvr$ /usr/local/bin/python2.5 Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1 (Apple Computer, Inc. build 5363