Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Accented Characters in Alert box


  • From: javascript@xxxxxxxxxx (Peter Brunone)
  • Subject: [Javascript] Accented Characters in Alert box
  • Date: Fri, 31 Jan 2003 10:04:54 -0500

   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+key=
pad combos myself, and never seen them distorted.

-Peter

---------- Original Message ----------------------------------
From: "Andrew McCombe" <andrew@xxxxxxxxxxx>
Reply-To: javascript@xxxxxxxxxx
Date: Fri, 31 Jan 2003 13:50:39 -0000

>
>Yes - it does work!
>
>>
>>
>> I don't think you can do this in alert boxes.  There is a way of printin=
g
>> them directly using a nifty little-known trick if you are using
>> Windows.  As
>> the keyboard only has 104 (or close) keys, you can access the full 256
>> characters of a font by holding down the right alt key and entering the =
on
>> the number pad the numerical code for the character you require:
>>
>> ie:
>> =BC is alt+(number pad) 0188
>> =BD =3D 0189
>> =BE =3D 0190
>> =95 =3D 0149
>> =E9 =3D 0233
>> =A9 =3D 0169
>> =99 =3D 0153
>>
>> I've not tried these in an alert box.
>>
>> Andrew
>>
>> >
>> >
>> > Hi,
>> > I would like to display accented characters '=E9' within an Alert box
>> > but both =E9  and  =E9 endup showing Z^ or some other
>> > garbage.
>> >
>> > How can I pass accented characters to an Alert box?
>> >
>> > thanks!
>> > --
>> > Thierry
>> >