Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

One time, one guy has come to the office and showed me that Polish characters in a website URL's path part was percentage-encoded. Currently, I'm looking for browser with similar behaviour for testing, but every recent version I have tested have URL's Unicode support. I know only that was Safari, but not if it was Mac or Windows and which version. I have no problems with new Safari on Windows 7.

Which version of which browser on which OS has change characters like Zażółć gęślą jaźń typed in address bar to something like Za%C5%BC%C3%B3%C5%82%C4%87%20g%C4%99%C5%9Bl%C4%85%20ja%C5%BA%C5%84?

You can check it by pasting this http://www.google.com/Zażółć%20gęślą%20jaźń/ to the address bar and watching how it's changed. The 404 error information is not my interest.

share|improve this question

closed as not constructive by Mokubai, DragonLord, Sathya May 16 '12 at 17:59

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Can't you just test each browser, I mean honestly, there is what 5 different browsers even worth a dime that are stand-alone engines. Certainly this would be based on the operating systems support for unicode and its polish language support. –  Ramhound May 16 '12 at 17:04
    
I was tested each recent browser: Firefox, Chrome, Opera, Safari, IE9. I have not mac. If you don't understand my question, please dont answer. –  kbec May 16 '12 at 17:08
    
It's just presentation, and internally it's still urlencoded, especially when you copy&paste it. –  Daniel Beck May 16 '12 at 17:17
    
Yes, but I'm interested only in visually change in the address bar. –  kbec May 16 '12 at 17:19
add comment

1 Answer

up vote 3 down vote accepted

RFC 3986 requires percent-encoding of Unicode characters in URLs:

When a new URI scheme defines a component that represents textual data consisting of characters from the Universal Character Set, the data should first be encoded as octets according to the UTF-8 character encoding; then only those octets that do not correspond to characters in the unreserved set should be percent-encoded. For example, the character A would be represented as A, the character LATIN CAPITAL LETTER A WITH GRAVE would be represented as %C3%80, and the character KATAKANA LETTER A would be represented as %E3%82%A2.

Even though this applies to new URI schemes, most current browsers will perform percent encoding on URLs.

share|improve this answer
    
It's clear. I'm abandon language-specific chars in my urls. Maybe in the future... –  kbec May 16 '12 at 17:24
    
I forget to mention. Safari 5 on Windows has terrible bug when you trying to assign polish letters (as above) by javascript's to location object. –  kbec Jul 7 '12 at 0:22
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.