469,282 Members | 2,025 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

Can i use special characters in alert() JavaScript ?

When i use special characters in a javascript alert() like 'ç' or 'ã', the
message is displayed white a blank square.
How can i avoid this?

thanks in advance.
--
Renato /*Portugal*/ Vieira
Nov 16 '05 #1
3 8076
Renato,

The browser displays it, a browser has often language extentions.

In this message I see your special characters (I thought that Portugal has
the same codetable 1251 as Holland).

This does not mean that it is showed everywhere in this case.

When I use Polish characters I have to sent the message as Rich text to get
the characters on the other side.

Therefore you should in my opinion point your search on the used browsers
first in my opinion.

Cor
Nov 16 '05 #2
thks Cor, I´ll do that, but i´ve found this link:
http://www.pjb.com.au/comp/diacritics.html
with a table of every special characters which i have used and worked fine.
Ex. \341 for á small a, acute accent.

never the less, thanks a lot, for your answer..

Nov 16 '05 #3
Renato,

I made an error I wrote 1251 which has to be 1252 see this

http://www.w3.org/International/O-charset-lang.html

Cor
Nov 16 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Michael Hill | last post: by
7 posts views Thread by Daniel | last post: by
7 posts views Thread by petedawn | last post: by
2 posts views Thread by Lupus | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.