Python unicode error (was: [SVN] r8839 (Python))

Allan Odgaard throw-away-2 at macromates.com
Wed Apr 30 10:52:21 UTC 2008


On 6 Feb 2008, at 22:26, Alexander John Ross wrote:

> • Add Unicode support to PyMate / ScriptMate.
>
> Changed:
> U   trunk/Bundles/Python.tmbundle/Support/PyMate/pymate.rb
> U   trunk/Bundles/Python.tmbundle/Support/PyMate/tmhooks.py
> U   trunk/Support/lib/scriptmate.rb

I got this ticket http://macromates.com/ticket/show?ticket_id=502C2FDD  
and after some experiments I think the problem is that PyMate does not  
pick up on the encoding provided by the user.

For example a script like this will error:

     # coding: utf-8
     print("æble")

Is r8839 supposed to allow the above?




More information about the textmate-dev mailing list