[Javascript] Encoding Unicode characters in HTML

Flavio Gomes flavio at economisa.com.br
Thu Aug 18 14:31:48 CDT 2005


Can't assure that will it bring right anything above 255,but you can try:

•

For others you can try here:
http://www.w3schools.com/tags/ref_entities.asp

Hope to Help,

-- 
Flavio Gomes
flavio at economisa.com.br



Judah Frangipane wrote:

> I know how a person can encode an ampersand in html. They use "&" 
> and this code is rendered by the browser into "&".
>
> What I don't know is how to encode a unicode character. I am trying to 
> encode a bullet character. The keystroke is ALT+0149 as displayed here 
> •. There are many more unicode characters that I would like to let my 
> users use. How do I encode the characters so that the browser renders 
> them correctly?
>
> var myTextField.value = "Me, myself & I.";
>
> Best Regards,
> Judah Frangipane




More information about the Javascript mailing list