[thelist] French characters in JavaScript

Steve Bissonnette steve at plankdesign.com
Tue Feb 17 10:22:04 CST 2004


Hi -

I'm trying to remember how to do French characters (éâÉ etc.) in a
JavaScript alert. Can anyone help me out with this ?


    <script type="text/javascript" language="Javascript">

        alert('éîåáèÈÂ');

    </script>


Escaping them doesn't work - neither does using the entity encoding --
I think it's Unicode - but them I end up with tons of problems with PHP.


Thanks -
Steve
-- 
steve bissonnette
steve at plankdesign.com

PLANK. A multi-faceted-media company.
http://www.plankdesign.com
v. 514.875.0003   f. 514.875.7611



More information about the thelist mailing list