Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

problem with encoding & german characters

Hi there,

when I'm using special german characters like 'รค' a sagecell in an html document the whole cell crashes without doing anything (not even printing an error message). I encoded the webpage in UTF-8 and added the needed meta tag fpr this encoding as well. The error occurs whenever I'm typing these characters inside the sage code block (even when they are just used in a # comment.)

This behavior is new, since I worked a couple of days ago. I tried setting the encoding of python inside the script as well without any effect. The standard encoding is ASCII. (tested via sys.getdefaultencoding() ) Even using the .encode('utf-8') method for stings fails :(

Will this be fixed? Or is there any known workaround?

Kind regards, Kwasniok