On 27 Dec 2007, at 05:23, Allan Odgaard wrote:
• ask python to coerce the ‘viewer’ variable into utf-8 — if not
done, the "check_open %s %s"%(viewer,pdfFile) line throws an
encoding exception when pdfFile has non-ASCII characters.
I am no Python expert, but this looks like a Python bug.
This is the native 10.5.1 Python and ‘viewer’ set to Preview.
More specifically a PyObjC (bridge) bug. Disabling the use of
Foundation’s plist parser also solves the problem. So something about
the strings returned from the plist parser is weird.
_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev