Hi Simon,

On Sat, Apr 17, 2010 at 11:35 PM, Simon King <[email protected]> wrote:

<SNIP>

> Wouldn't this result in LaTeX *maths* mode?

Yes. But you don't want that because the rendered text would look out of place.


> OK, but this wouldn't work for doc strings, or would it? Is it
> possible to have unicode doc strings?

It would work for docstrings as well. Just make sure you have the
following line at the very top of your ReST file:

.. -*- coding: utf-8 -*-

For the case of a Python file, use the following comment to declare
character encoding:

# -*- coding: utf-8 -*-

-- 
Regards
Minh Van Nguyen

-- 
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/sage-support
URL: http://www.sagemath.org

Reply via email to