...

View Full Version : %Number/letter list



Borommakot
05-04-2004, 08:15 PM
i need a list of the %numbers.... in javascript theres a % and then a number, like %22 and it will put a " instead.. if u know what i mean


Thanks :D

JonTheGeek
05-04-2004, 08:28 PM
http://www.utoronto.ca/webdocs/HTMLdocs/NewHTML/iso_table.html

The javascript escape() and unescape() functions use the hexadecimal (hex) code, not the decimal.

liorean
05-04-2004, 08:41 PM
No. The %xx escape is the one used in URIs. In JavaScript, you can use either \a where a is one of 'b','f','n','r','t','v',"'",'"'','\', \xhh wherer hh are two hexadecimal characters [0-9a-fA-F] representing an ASCII character, or \uhhhh where hhhh is four hexadecimal characters matching a Unicode codepoint (UCS-2).

If you want to find out more about what characters have what codepoints, search for an ASCII table or a Unicode characters table on Google.

Borommakot
06-11-2004, 05:05 PM
huh?

I understand the stuff on the link but not the stuff about \a and stuff
but thanks for the help,
so with that hexidecimal thing, i just type % and the hexicecimal code for the letter and it'll print that instead?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum