
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
It shows the correct menu:

The foreign language menus as stored in .po files in the jsmol/idioma directory. I downloaded the German one and it looks fine when opened locally. Is there some server configuration that would change the encoding when serving the same file in a browser? What's in the .htaccess file regarding encoding?
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
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.
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
--
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 sage-cell+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/8cace745-7377-45a3-ac27-8e3330776548%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Dr. Jonathan H. Gutow
Chemistry Department gu...@uwosh.edu
UW-Oshkosh Office:920-424-1326
800 Algoma Boulevard FAX:920-424-2042
Oshkosh, WI 54901
http://www.uwosh.edu/facstaff/gutow/