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 (Andrew McCombe)
  • Subject: [Javascript] Accented Characters in Alert box
  • Date: Fri, 31 Jan 2003 13:35:59 -0000

I don't think you can do this in alert boxes.  There is a way of printing
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:
¼ is alt+(number pad) 0188
½ = 0189
¾ = 0190
? = 0149
é = 0233
© = 0169
? = 0153

I've not tried these in an alert box.

Andrew

>
>
> Hi,
> I would like to display accented characters 'é' within an Alert box
> but both é  and  é endup showing Z^ or some other
> garbage.
>
> How can I pass accented characters to an Alert box?
>
> thanks!
> --
> Thierry
>
> _______________________________________________
> Javascript mailing list
> Javascript@xxxxxxxxxx
> https://lists.LaTech.edu/mailman/listinfo/javascript
>