On Sat, Mar 26, 2011 at 10:53 AM, clodemil <ollie...@scarlet.be> wrote:
> Hi All,
>
> Sage does not accept accented characters like: é è à give a syntax
> error.

In Python 2.x, you can only use the following characters for
identifiers (things like function names, variable names, etc.):  the
uppercase and lowercase letters A through Z, the underscore _ and,
except for the first character, the digits 0 through 9.

> If in a string it is accepted but coded like:" après" becomes 'apr
> \xc3\xa8s'
> I suppose it is a question of font encoding.
> What can I do ?

This should work fine:

sage: s = 'après'; s
'apr\xc3\xa8s'
sage: print s
après

How are you trying to use these characters?

--Mike

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to