Closed
Bug 379632
Opened 17 years ago
Closed 17 years ago
Saving files: Escaped characters are decoded and saved in the default locale but the charset override is untouched
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 331991
People
(Reporter: toad, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 If the above URL (or any other Wikka page including external links) is saved to disk, and the system locale is different to the page charset, the infinity symbol will be decoded (it's an &# reference on the page), and saved *using the system locale*. The meta http-equiv for the charset is not however changed, so you end up with a file on disk which is actually in UTF-8 (the system locale in this case) but which has a meta-equiv saying it is ISO-8859-1. Result: infinity symbol turns into 3 meaningless accented characters. Reproducible: Always Steps to Reproduce: 1. Set system locale to UTF-8. 2. Visit http://wiki.freenetproject.org/FreenetZeroPointSevenSecurity (or any other ISO-8859-1 page on Wikka). 3. Save the page to disk. 4. Open the saved page in the browser. Actual Results: Where there should be a superscripted infinity symbol, there are a few meaningless accented characters. Expected Results: 3 superscripted meaningless characters (UTF-8 representation of ∞ - the problem is that the meta http-equiv still says iso-8859-1) Either the browser should save the page as it was originally sent to the browser (with the original reference ∞), or it should transcode it to the system locale *and change the <meta http-equiv=content-type...> to reflect this*.
Updated•17 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•