[SVN] r8726 (Latex)

Allan Odgaard throw-away-2 at macromates.com
Thu Dec 27 04:33:08 UTC 2007


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.




More information about the textmate-dev mailing list