Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Accented Characters in Alert box
- From: javascript@xxxxxxxxxx (Thierry)
- Subject: [Javascript] Accented Characters in Alert box
- Date: Fri, 31 Jan 2003 11:46:17 -0500
Thanks Peter and Andrew
It's an adaptation of Jacob Hage's Generic Form Validation
----------------------------------
language["header"] =3D "Désol=E9...Veuillez vérifier ce(s)
champ(s):"
[...further...]
if (errors) {
alert(language["header"].concat("\n" + errors));
errors =3D "";
returnVal =3D false;
} else {
returnVal =3D true;
}
----------------------------------
Should Alert : "D=E9sol=E9... Veuillez v=E9rifier ce(s) champ(s):"
But none of the character formatting above work.
Any clues?
PS: I'm on mac, but I don't see the problem.
Thanks!
--=20
Thierry
Peter Brunone, 31/01/03 10:04 :
> I guess the question then would be, how is Thierry rendering these chara=
cters
> so that they're messed up by the alert box? I've always used Alt+keypad
> combos myself, and never seen them distorted.
- References:
- [Javascript] Accented Characters in Alert box
- From: Peter Brunone
- [Javascript] Accented Characters in Alert box
- Prev by Date: [Javascript] Accented Characters in Alert box
- Next by Date: [Javascript] Re: Here is that sample
- Previous by thread: [Javascript] Accented Characters in Alert box
- Next by thread: [Javascript] Re: Here is that sample
- Index(es):