Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #9776
| From | Gene Wirchenko <genew@ocis.net> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | JavaScript's Character Escaping Functions |
| Date | 2011-12-29 17:30 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <nk4qf7ti2bbod0k5flbs0bbm880dpdvv35@4ax.com> (permalink) |
Dear JavaScripters:
There are a number of functions for escaping various characters
and de-escaping them:
Escape Function Unescape Function
--------------- -----------------
escape() unescape()
encodeURI() decodeURI()
encodeURIComponent() decodeURIComponent()
There may be others that I am unaware of.
What I am definitely unaware of is when to use them. I have not
seen any material on that other than vague (to me) sentences. They
seem to assume that people already know what they are doing with them.
Between them and HTML's "&something;", I really could use a good
grounding in the area.
Pointers please?
Sincerely,
Gene Wirchenko
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
JavaScript's Character Escaping Functions Gene Wirchenko <genew@ocis.net> - 2011-12-29 17:30 -0800
Re: JavaScript's Character Escaping Functions Tim Streater <timstreater@greenbee.net> - 2011-12-30 10:33 +0000
Re: JavaScript's Character Escaping Functions Gene Wirchenko <genew@ocis.net> - 2011-12-30 11:45 -0800
Re: JavaScript's Character Escaping Functions "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2011-12-30 22:06 +0200
Re: JavaScript's Character Escaping Functions Tim Streater <timstreater@greenbee.net> - 2011-12-30 22:45 +0000
Re: JavaScript's Character Escaping Functions "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2011-12-30 12:03 -0800
Re: JavaScript's Character Escaping Functions Denis McMahon <denismfmcmahon@gmail.com> - 2011-12-31 10:05 +0000
Re: JavaScript's Character Escaping Functions Gene Wirchenko <genew@ocis.net> - 2011-12-31 23:41 -0800
Re: JavaScript's Character Escaping Functions Dr J R Stockton <reply1152@merlyn.demon.co.uk> - 2012-01-02 19:10 +0000
Re: JavaScript's Character Escaping Functions Dr J R Stockton <reply1152@merlyn.demon.co.uk> - 2011-12-31 20:41 +0000
csiph-web