On 3/30/08, vakaras <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> How to set coding in "*.sage" script to utf-8 ?


What version of sage are you using.



> I have a script:
> # coding: utf-8
> print "klaidelÄ—";
>
> When I try to run it, I get:
> $ sage script.sage
> File "script.py", line 4
> SyntaxError: Non-ASCII character '\xc4' in file script.py on line 4,
> but no encoding declared; see http://www.python.org/peps/pep-0263.html
> for details
>
> This is autogenerated script.py:
> # This file was *autogenerated* from the file script.sage.
> from sage.all_cmdline import *
> # coding: utf-8
> print "klaidelÄ—";
>
> >
>
--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to