Yup, text string, that's what I figured at last. Just to make sure that it is the way I have saved the source code and not how my machine is set up, I made another couple of test pages.
http://www.einberg-volleyball.de/maps/test/charset_utf-8_saved_as_utf-8.shtml Here I used notepad to save as utf-8. Work fine for me in IE and FF. (meaning the alert shows an ü) http://www.einberg-volleyball.de/maps/test/charset_utf-8_saved_as_standard_text.shtml This is saved with my favorite editor. Unfortunately there is no option for encoding. Does not work for me in IE and FF. I would appreciate any comment how it works on your computer. Thanks for testing :-) Jürgen On Dec 15, 1:39 am, Mike Williams <[email protected]> wrote: > Wasn't it Jürgen who wrote: > > >One thing I did not get to work with utf-8 is an alert message with an > >umlaut (ü) in it. I tried using alert("&uuml;") and alert > >("&#252;") but no success. > > The parameter of alert() is a text string, not a HTML string, so it's > not affected by HTML escape characters or whether the HTML has > charset=utf-8. > > On my machine, alert("ü") works in all browsers. > > --http://econym.org.uk/gmap > The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
