Ask Your Question
1

problem with encoding & german characters

asked 2016-05-26 18:06:00 +0100

Kwasniok gravatar image

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

edit retag flag offensive close merge delete

Comments

This has been reported to the sage-notebook mailing list and acknowledged by the SageCell maintainer. See https://groups.google.com/d/msg/sage-notebook/jPLfIbt048Q/CqDevPIRAAAJ. Hopefully there will be a fix. If anyone knows a fix or workaround, please speak up!

slelievre gravatar imageslelievre ( 2016-05-28 09:07:10 +0100 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2016-05-30 16:44:58 +0100

slelievre gravatar image

This should be fixed now, see https://groups.google.com/d/msg/sage-...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-05-26 18:06:00 +0100

Seen: 547 times

Last updated: May 30 '16