On Thu, Jun 30, 2011 at 7:53 PM, wgw <[email protected]> wrote:
> Ok, this is the solution, which I suppose was obvious....
>
> @first # -*- coding: utf-8 -*-
>
> as the first line in the body.
>
> Now I'm back on track.
>
> So this goes into the enhancement bin: be able to set globally the default
> encoding... (But I thought that was done through leosettings.leo....)
This is a complex topic. If the Python settings sufficed, one would
think that the line:
# -*- coding: utf-8 -*-
would never be needed. But it is. That being so, I think the prudent
thing is to require the same line in Leo scripts.
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.