Bug 30622 - [Qt] Default media type failure.
Summary: [Qt] Default media type failure.
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2009-10-21 04:51 PDT by Jakob Truelsen
Modified: 2009-10-25 04:33 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakob Truelsen 2009-10-21 04:51:33 PDT
As noted in https://bugs.webkit.org/show_bug.cgi?id=30311, my original patch introduced an error. However the patch in 30311, while accepted is still produces faulty behaviour..

Basicly changing the global default encoding, has no effect unless the local encoding is set to "", (it defaults to latin1).

I think a better solution would be to either only use the default value in the global option. Or to substitute the empty string by latin1 in QWebSettings::apply. 
The first is not easy to implement the latter will break the first test, also implemented by the 30311 patch.  I think the second solution would be more in line with other QWebSettings settings, where the default empty settings signifies using a lower level webkit default?
Comment 1 Jakob Truelsen 2009-10-25 04:33:33 PDT
There is no problem, my bad.