diff options
Diffstat (limited to 'embed/webkit')
-rw-r--r-- | embed/webkit/webkit-embed.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/embed/webkit/webkit-embed.c b/embed/webkit/webkit-embed.c index aa512f24f..0460d7d3a 100644 --- a/embed/webkit/webkit-embed.c +++ b/embed/webkit/webkit-embed.c @@ -561,12 +561,15 @@ static void impl_set_encoding (EphyEmbed *embed, const char *encoding) { + WebKitWebView *view = WEBKIT_EMBED (embed)->priv->web_view; + webkit_web_view_set_custom_encoding (view, encoding); } -static char * +static const char * impl_get_encoding (EphyEmbed *embed) { - return NULL; + WebKitWebView *view = WEBKIT_EMBED (embed)->priv->web_view; + return webkit_web_view_get_custom_encoding (view);; } static gboolean |