[sage-support] Re: non-english characters in Notebook

2007-12-13 Thread greg2k4
> input block started with %html can contain only ascii chars. non- > english gets replaced by %u as described above. G, it inserts: inserted text IMHO, very bad practice and should not be recommended. I'd suggest to use html _ourside_of_{{}}_ whenever possible. --~--~-~--~

[sage-support] Re: non-english characters in Notebook

2007-12-13 Thread greg2k4
Last addition (just tried to read help :-) input block started with %html can contain only ascii chars. non- english gets replaced by %u as described above. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe

[sage-support] Re: non-english characters in Notebook

2007-12-13 Thread greg2k4
> Could you summarize the situation with rendering problems? Is it as follows: > (1) When you try to put them in input cells, they get corrupted on load/save. To be correct, they're replaced by "non-browser" unicode codes (like %u0440 instead of р ) > (2) Using edit mode, unicode not in {{{}}}

[sage-support] Re: non-english characters in Notebook

2007-12-13 Thread William Stein
On Dec 13, 2007 10:32 AM, greg2k4 <[EMAIL PROTECTED]> wrote: > However, it's not a problem any more, as now I know how to set pure > html sections that are rendered w/o problem with any characters. > Thanks, William! Could you summarize the situation with rendering problems? Is it as follows:

[sage-support] Re: non-english characters in Notebook

2007-12-13 Thread greg2k4
Not possible to use html+js wrapper. While it works ok with static file (saved as html), with *live* worksheet an error occures: === uncaught exception: Permission denied to get property HTMLDocument.body === However, it's not a problem any more, as now I know how to set pure html sections that a

[sage-support] Re: non-english characters in Notebook

2007-12-13 Thread greg2k4
Besides, I don't think the 1st one (meta tag) will work, because "%u" is not standard html representation for unicode char... --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [

[sage-support] Re: non-english characters in Notebook

2007-12-13 Thread greg2k4
Alex, Excuse me for asking, but if I'm not mistaken, I (end-user) can't do any of these 2 things, right? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For mor

[sage-support] Re: non-english characters in Notebook

2007-12-13 Thread greg2k4
Well, no luck with "direct" workaround. If I change "%u0441" to "с", it shows correct char *for this only session*, but on save+load, it gets replaced by even more non- english char (like euro sign :-) You're right, this seems caused by how worksheet is saved/loaded. The only way of "indirect" w

[sage-support] Re: non-english characters in Notebook

2007-12-13 Thread greg2k4
William, thanks for reply. For now, I'll try to add encoding instructions to the html in "Edit" mode... As for me, I'm university professor (in electrical engineering field) trying to find non-proprietary tools for my students :-) > By the way, did you see > http://rnd.cnews.ru/math/news/...s

[sage-support] Re: non-english characters in Notebook

2007-12-12 Thread William Stein
On Dec 12, 2007 7:48 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi all, > > I need to use non-english characters (in comments) in Notebook > worksheet. > While working, they're shown w/o problem, but if I save ("download to > file") worksheet, then close > SAGE, then open again and load