[Webkit-unassigned] [Bug 17873] New: Encoding override should not be persistent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 15 23:46:58 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=17873

           Summary: Encoding override should not be persistent
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: johnnyding.webkit at gmail.com


Once you override the encoding for the current page by selecting one in
View/Encoding menu, it is persistent and don't reset it when you go to a new
page which explicitly specifies the encoding via HTTP or meta tag.

1. Go to zh.wikipedia.org (UTF-8 page)
2. Override the encoding to GBK. The page will be garbled. This is expected
because it's forced to be interpreted as GBK although the page is in UTF-8.
3. Go to http://news.google.com/news?ned=cn (UTF-8 page)
4. The page should be interpreted as UTF-8, but is still interpreted as GBK.

IE and Firefox will reset the encoding override when visiting new page. 
The only difference between IE and Firefox is if users go to a new page in a
sub-frame(in FRAME or IFRAME) instead of main frame, IE still resets the
encoding override for the new page opened in sub-frame, but Firefox does not.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list