[Webkit-unassigned] [Bug 17585] New: [patch] get|set encoding api

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 27 20:24:00 PST 2008


           Summary: [patch] get|set encoding api
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: diegoe at gnome.org

Attached patch implementes a get|set for encoding in webview, it's half-working
because it seems I'm doing something silly with the string returned.
Attached to the patch is the epiphany part consuming this API, it's there for

What ephy needs is:
- a way to get the current encoding for the page so the view > encoding menu
can be displayed correctly (the proper current encoding selected)
- a way to tell the current web view to override the default-encoding of
websettings for the current website (and reload the page when the encoding is

The patch provides the two first thing (with bugs), the second thing should be
a matter of adding a reload() somewhere in the code, right now setting the
encoding and manually reloading changes nothing, I guess it's in part fault of
my buggy implementation.
Please comment so I can learn the ways of C++ :)

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