special characters in a javascript alert?

andehlu

this modern love
Does anyone know how to put special characters in a javascript alert?

Im trying to make a french js alert....
alert("Veuillez inscrire votre prénom..")

thanks for the help.....
 
If you want to dispaly special characters of german in javascript alert or innerHtml or InnerText then fomat as below

For Example:

you want to display
alert(''Bitte überprüfen Sie die Eingabe'');

instead of ü use \u00FC

alert('Bitte \u00FCberpr\u00FCfen Sie die Eingabe');

Use this to find the right codes for German Characters:
http://www.unicode.org/charts/PDF/U0080.pdf
 
Back
Top