Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode in URLs not completely correct for Firefox 3 #16

Closed
GoogleCodeExporter opened this issue Jul 7, 2015 · 1 comment
Closed

Unicode in URLs not completely correct for Firefox 3 #16

GoogleCodeExporter opened this issue Jul 7, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

In the table of section "Unicode in URLs" (part 1), it is said that Firefox
3 uses UTF-8 for "Request URL query string encoding for manually entered
URLs". This is actually not completely true.

It looks like Firefox 3 does the following:
  - if all the characters in the query string can be encoded in the
machine's default encoding, this encoding is used.
  - otherwise, UTF-8 is used.

Let me explain. I'm using a French machine with a default encoding is
CP-1252 (similar to ISO-8859-1).

The URL http://www.google.com/search?q=é procudes
http://www.google.com/search?q=%E9, whereas
http://www.google.com/search?q=ąé produces
http://www.google.com/search?q=%C4%85%C3%A9.

In the first case, the "é" character was converted to %E9 which is
ISO-8859-1. In the second case, it was converted to %C3%A9, which is UTF-8.



Original issue reported on code.google.com by Alexis.S...@gmail.com on 28 Jan 2009 at 1:06

@GoogleCodeExporter
Copy link
Author

Thanks for the report, note added.

Original comment by lcam...@gmail.com on 11 Feb 2009 at 9:20

  • Changed state: Fixed

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant