Closed Bug 331172 Opened 18 years ago Closed 14 years ago

URL bar on Polish Windows assumes that accented characters are CP 1250, should use ISO-8859-2 or UTF-8 instead.

Categories

(Firefox :: Shell Integration, defect)

1.5.0.x Branch
x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: Tomasz.Wegrzanowski, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

CP 1250 is the default character encoding under Polish releases of Windows,
however it is not used anywhere else. The encoding used on the Polish Internet
is almost exclusively ISO-8859-2, with some websites in UTF-8,
and very few in CP 1250.

The problem is not very important, as most of the Polish websites use ASCII-only URLs for compatibility, and only one popular website (Polish Wikipedia) uses accented characters in URLs. It accepts UTF-8 and ISO-8859-2.

A simple workaround is changing network.standard-url.encode-utf8

Possible solution:
* If CP 1250 Windows (or Polish version, whatever is easier) is detected, either assume that the real encoding should be ISO-8859-2, or turn on network.standard-url.encode-utf8.


Reproducible: Always

Steps to Reproduce:
1. Get a compouter with Polish version of Windows installed
2. Try URL with accented characters, like http://pl.wikipedia.org/wiki/£o¶
Actual Results:  
It sends URL in CP-1250, getting "Article doesn't exist" page.

Expected Results:  
It should encode URL in either ISO-8859-2 or UTF-8, getting http://pl.wikipedia.org/wiki/%C5%81o%C5%9B (Polish Wikipedia redirects non-UTF-8 links assuming they are in ISO-8859-2)
Related to bug 150376 comment 32?

(In reply to comment #0)
> <..> or turn on
> network.standard-url.encode-utf8.

Duplicate of Core bug 261929 comment 3.
Whiteboard: DUPEME
Version: unspecified → 1.5.0.x Branch
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
No reply, INCOMPLETE. Please retest with Firefox 3.6.x or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.