On Aug 31, 12:08 pm, "Ville M. Vainio" <[email protected]> wrote:
> Does running a script
>
> print 'ä'
>
> Work ok for you?
This generates a syntax error, as expected::
print 'ä'
This generates byte hash::
@first # -*- coding: utf-8 -*-
print 'ä'
This works::
@first # -*- coding: utf-8 -*-
print u'ä'
> If it does try defaultencoding 'ascii' (which is the default).
I would have sworn the following would not have worked, but it does
work::
@first # -*- coding: utf-8 -*-
print u'ä'
Now I'm really confused :-)
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
-~----------~----~----~----~------~----~------~--~---