OK, I can see the problem. However, I cannot see where it is coming from. I will forward the link to the jmol-developers list and see if any of our translation people have ideas.

Jonathan

On 11/7/16 4:41 PM, Paul Masson wrote:
Johnathan, if I go to http://netmath.vcrp.de/downloads/Systeme/Sage/SpatX.html, right click on the rendered JSmol and hover over "Language", I see lots of encoding problems for all non-ASCII characters.

On Sunday, November 6, 2016 at 6:53:24 PM UTC-8, Jonathan Gutow wrote:

    1) This appears to be an instance of different encodings on the web page and
    within Sage-Cell. But I cannot see the version where it does not work.

    2) JSmol sometimes has trouble when things are passed to it through too many
    layers because extra quotes need to be added to prevent mangling by higher
    levels. That could be the cause if the encodings are actually consistent.
    The specific fix would depend on the details of the particular web page.  If
    examples can be provided of the broken page, I might be able to get some
    input from the Jmol team's translation expert.


    Jonathan



    On Friday, November 4, 2016 at 11:22:24 PM UTC-5, Andrey
    Novoseltsev wrote:

        Ingo Dahn reported the following problem, but I have no idea
        how to fix. Can anyone give some pointers? Or even better -
        pull request ;-)


        ---------- Forwarded message ----------
        I just noted an encoding problem with the jmol context menu
        when called from my own web page
        https://netmath.vcrp.de/downloads/Systeme/Sage/SpatX.html
        which is utf-8
        
<https://netmath.vcrp.de/downloads/Systeme/Sage/SpatX.html%20which%20is%20utf-8>
        encoded.

        As you can see it correctly detects that the language is
        German but the item in the menu should read “Vergrößerung”.

        However, when I call it directly from SageCell using
        
https://sagecell.sagemath.org/?z=eJyNkk0KwyAQhfeF3iNhXMxo87fwJKWLEAItDQlkgr1-ndiIXRl08Xx-Mz5Rh9aNw7asxR2VH4_yenEUPYqeTjj6eeavlsTrCdH267p8CofKkRqWaVltsTcqBUBKAX0Ae9cAICWA2QP5GkfgtGi_Ldp4jeS1Dpoo-GHJZKfXPBZ3H0HKH2p7vob3PDLbNg1Fcibrg9ZnaHPQRkmEDH1Lk2COrpLeebpLcueT1AftUblnjm9icjzFt5EnPMGH3wLyI0BeHdhPDWyAb8AVcA3cALfA3RfMccC8&lang=sage
        
<https://sagecell.sagemath.org/?z=eJyNkk0KwyAQhfeF3iNhXMxo87fwJKWLEAItDQlkgr1-ndiIXRl08Xx-Mz5Rh9aNw7asxR2VH4_yenEUPYqeTjj6eeavlsTrCdH267p8CofKkRqWaVltsTcqBUBKAX0Ae9cAICWA2QP5GkfgtGi_Ldp4jeS1Dpoo-GHJZKfXPBZ3H0HKH2p7vob3PDLbNg1Fcibrg9ZnaHPQRkmEDH1Lk2COrpLeebpLcueT1AftUblnjm9icjzFt5EnPMGH3wLyI0BeHdhPDWyAb8AVcA3cALfA3RfMccC8&lang=sage>

        It shows the correct menu:


--
You received this message because you are subscribed to the Google Groups "sage-cell" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/8cace745-7377-45a3-ac27-8e3330776548%40googlegroups.com <https://groups.google.com/d/msgid/sage-cell/8cace745-7377-45a3-ac27-8e3330776548%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
                        Dr. Jonathan H. Gutow
Chemistry Department                                 [email protected]
UW-Oshkosh                                           Office:920-424-1326
800 Algoma Boulevard                                 FAX:920-424-2042
Oshkosh, WI 54901
                http://www.uwosh.edu/facstaff/gutow/

--
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/6c23084e-1303-3a47-7247-e86b779c1047%40uwosh.edu.
For more options, visit https://groups.google.com/d/optout.

Reply via email to