Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    May 2004
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    %Number/letter list

    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

  • #2
    New to the CF scene
    Join Date
    May 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    http://www.utoronto.ca/webdocs/HTMLd...iso_table.html

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

  • #3
    Master Coder
    Join Date
    Feb 2003
    Location
    Umeå, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    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.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #4
    New Coder
    Join Date
    May 2004
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?
    Im Lost- I Have Gone To Find Myself
    If I Should Get Back Before I Return, Please Tell Me To Wait
    Thank You
    -Borommakot


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •