[Webkit-unassigned] [Bug 30311] New: [Qt] Missing default value for the default text encoding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 12 12:55:10 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30311

           Summary: [Qt] Missing default value for the default text
                    encoding
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: faw217 at gmail.com


So far the default charset has been hardcoded in the constructor of
QWebPagePrivate:

// ### should be configurable
page->settings()->setDefaultTextEncodingName("iso-8859-1");

But since the addition of an equivalent setting in QWebSettings
(https://bugs.webkit.org/show_bug.cgi?id=25863), this default value has had no
effect because the above two lines are followed by:

settings = new QWebSettings(page->settings());

which applies the default global settings, where the default text encoding
string is empty.

The default value should be moved to QWebSettings (as a result, it would also
work when a page-specific encoding is reset to QString()).

This bug seems to trigger the fast/dom/Document/default-charset.html test
failure.

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



More information about the webkit-unassigned mailing list