On 30 Aug 2008 at 9:49, Jonathan Gutow wrote:
> You can look for yourself.  By any chance does the "Old"  
> file look ok on your machine, which I assume defaults to Spanish? 

Right. WinXP Spanish


> The  
> files are:
> 
> Old (didn't work):
> http://www.uwosh.edu/faculty_staff/gutow/trans%20test%20es%202/trans% 
> 20test%20es%202.html

Yes, wrong in IE7 and Firefox 3  (page title and footer)


> New (works):
> http://www.uwosh.edu/faculty_staff/gutow/trans%20test%20es%203/trans% 
> 20test%20es%203.html

OK in IE7 and Firefox 3


> The solution seems to be the same as you used on your home page which  
> looks fine when I access it.

I regularly use DreamWeaver now, which always inserts entities irrespective of 
the charset, 
but on occasions I enter accented characters directly in the source code. They 
show well in 
Windows, but sometimes fail either in Mac clients or from the the server. I've 
done tests of 
this topic several times and never could come to a clear conclusion, only that 
entities are 
safer in the html source; in form elements and in javascript-generated content 
I still have 
doubts.   I've had this problem before with other pages, and I suspect that it 
depends on the 
web server; it was fixed after changing to entities. My assumption is that 
somehow some 
servers seem to impose UTF8 over the page-specified iso-8859-1 charset. Or at 
least that's 
the only explanation I can think of.
(The uah.es server seems to do it right, but others don't.)


> I also tried setting the file to the UTF-8 character set.  That  
> doesn't seem to help.  It also doesn't seem to disrupt the  
> javascript.  You can access that file here:
> 
> http://www.uwosh.edu/faculty_staff/gutow/trans%20test%20es%202/ 
> trans_test_es_02_utf8.html

Wrong in IE7 and Firefox 3 here too.

Still, when the user will type a custom page title with accents into the Export 
to Web dialog, 
the title may come out wrong in the browser (or it will depend on the server).

So, let's set it for the use of entities as the better solution. I have 
documented all this into
http://wiki.jmol.org:81/index.php/Internationalisation

I still have a doubt: does the original version,    trans test es 2.html
look also wrong for you when read it from local disk? Are you using Mac?



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to