[Pythonmac-SIG] Unicode with the Mac Python IDE

Jack Jansen Jack.Jansen at cwi.nl
Sun Oct 5 17:34:20 EDT 2003


On zondag, okt 5, 2003, at 22:50 Europe/Amsterdam, Pierre Thibault 
wrote:

> Hello,
>
> I am have Python program that in UTF-8. When running from the IDE the 
> accented characters are not showing well. But from the console 
> everything is fine. In the beginning of my program I have the special 
> comment to tell the parser that the file is in UTF-8:
>
> # -*- coding: utf-8 -*-
>
> But it is still not working with the IDE. What can I do? Is there a 
> fix planned for this IDE bug?

The IDE expects an old-style 8 bit character set. The current 
implementation
of the IDE is at the end of its lifecycle, so don't expect a fix that 
works
with the current codebase. But a new IDE will definitely be 
forthcoming, and
it will definitely be unicode-based internally.
--
- Jack Jansen        <Jack.Jansen at oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma 
Goldman -




More information about the Pythonmac-SIG mailing list