#5564: [with patch, needs review] fix character encoding problems in the
notebook
----------------------+-----------------------------------------------------
Reporter: mhansen | Owner: mhansen
Type: defect | Status: assigned
Priority: major | Milestone: sage-4.0.1
Component: notebook | Keywords: utf-8 tinymce
----------------------+-----------------------------------------------------
Comment(by ddrake):
First, these patches need rebasing against 4.0. Mike, you say that this
will break history, but my understanding is that you could just do {{{hg
copy js.py notebook_lib.js}}} and then delete all the Python stuff from
notebook_lib.js. If you use git-style unified diffs, when the patch gets
imported into Mercurial, it should follow history.
Second, I did manage to get these patches applied to 4.0, but when I
opened an old worksheet that I had had UTF-8 trouble with, I got a server
error, since our old code didn't work with UTF-8 correctly and produced
invalid UTF-8 files...and the new, 100% UTF-8 code couldn't handle that.
I'm guessing there's nothing we can really do about this, since (AFAIK)
there's no good way to take an improperly encoded file and translate it
into proper UTF-8. I thought I would mention this, though.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5564#comment:5>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---