On Aug 30, 11:37 am, "Ville M. Vainio" <[email protected]> wrote:
> On Sun, Aug 30, 2009 at 7:16 PM, Edward K. Ream<[email protected]> wrote:
> > Yes, that is a precondition for having non-ascii characters in a script.
>
> > At present, Leo's execute-script does not scan for encoding comments.
>
> It doesn't need to scan for anything. Just add coding: utf-8, and
> always store the script as utf-8
This may cause compatibility problems. The present laissez-faire
approach allows users to specify the encoding. Perhaps this is a bad
idea, but forcing utf-8 might cause confusion. I'd prefer to leave
things as they are unless there is an urgent reason to change. To
repeat, we can revisit this topic for Python 3k, which will happen
this year, if all goes well.
Edward
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---