Jump to content

External .js with alert() not displaying french accent properly!?


ltrem

Recommended Posts

Hi try to do some alert inside an .js... the alert work fine... but the french accent character is wrong.

 

I do something like

 

alert('Salut à toi mon ami!');

 

But the "à" is displayed like an square with a ? inside.

 

I need to replace the "à" with "\xE0" for it to work... which is hexa...

 

now is there a function I could use? Thx

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.