[evolution/wip-webkit2] EWebView - Set WebView's default encoding to UTF-8



commit 172de500863ccb8ce08622dead7b1324e04efd12
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Dec 5 15:05:53 2013 +0100

    EWebView - Set WebView's default encoding to UTF-8

 e-util/e-web-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c
index ef833ae..9a26c14 100644
--- a/e-util/e-web-view.c
+++ b/e-util/e-web-view.c
@@ -2359,6 +2359,7 @@ e_web_view_initialize_settings (WebKitSettings *settings)
 {
        g_object_set (settings,
                "auto-load-images", TRUE,
+               "default-charset", "utf-8",
                "enable-html5-database", FALSE,
                "enable-html5-local-storage", FALSE,
                "enable-java", FALSE,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]