Thanks, Otis and Bob Otis, yes, the \u + unicode for inserting single characters works fine. But here I need to just type in Spanish texts into a script file and have them come out correct. My testing suggests that Java reads this file always as ANSI / ISO Western even when the file is coded as UTF-8 / Unicode. It does not make any difference whether the page is coded in one or the other. (I'm working on WinXP, Java 1.6.0_31) Past experience with javascript files says that they are assumed to be in the same encoding as the html page. This being a JmolScript file seems to not apply the same.
Bob, I've put simple test pages at: http://biomodel.uah.es/Jmol/UTF8/test-ISO.htm http://biomodel.uah.es/Jmol/UTF8/test-UTF.htm ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

