1 | initial version |
"Strange characters" : this is a well-known Python snag...
In Python 2, current base, there is a distinction between strings (which are encoded in whatever your source fine is encoded into) and UTF_8 strings. See the Python documentation for discussion.
Check that you use utf8 strings, e. g. u"SoluciĆ³n"
.
Sage should use UTF-8 in any case, but maybe you are working on a file inadvertently encoded in, say, Latin1 ?
In the (forthcoming) Python3-based Sage, these distinctions should disappear...
An alternative in the Jupyter notebook : you can use display_typeset
to get all your output processed by Mathjax.