help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: function to decode url percent encoding


From: Xah Lee
Subject: Re: function to decode url percent encoding
Date: Wed, 08 Dec 2010 15:09:49 -0000
User-agent: G2/1.0

did some more testing about this.

the issue first of all seems to be that what characters should be
percent encoded.

i did some testing with browsers, IE, Firefox, Safari, Opera, all
behaved a bit differently in what they think should be percent
encoded.

• URL Percent Encoding and Unicode
  http://xahlee.org/js/url_encoding_unicode.html

text version excerpt follows

---------------------
Summary

Here's some summary of the behavior as it appears from above tests:

    * Firefox (v 3.6.3), is the most aggressive in turning characters
in url into the percent encoded form.
    * Google Chrome (4.1.249.1064 (45376)) will change unicode chars
into percent encoded form, but not parenthesis chars.
    * Safari (4.0.5 (531.22.7)) is better, in that it simply show the
characters as is, as much as it can.
    * Opera (v 10.10, build 1893) is the best, it shows unicode and
paren and en-dash as is.
    * IE (8.0.6001.18904), seems to take the approach that it doesn't
do anything to the url. Whatever you pasted in, remain unchanged

--------------

  Xah
∑ http://xahlee.org/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]