aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoung-ho Cha <ganadist@gmail.com>2013-08-03 19:07:47 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2013-08-03 19:07:47 +0800
commit96591accb86ef759181707d92b44391651294de7 (patch)
tree1d20b5d75ba794cc0f23b44a7e20724728b621b2
parent54429945ac209b637d142d467d9287861c06579a (diff)
downloadgsoc2013-epiphany-96591accb86ef759181707d92b44391651294de7.tar
gsoc2013-epiphany-96591accb86ef759181707d92b44391651294de7.tar.gz
gsoc2013-epiphany-96591accb86ef759181707d92b44391651294de7.tar.bz2
gsoc2013-epiphany-96591accb86ef759181707d92b44391651294de7.tar.lz
gsoc2013-epiphany-96591accb86ef759181707d92b44391651294de7.tar.xz
gsoc2013-epiphany-96591accb86ef759181707d92b44391651294de7.tar.zst
gsoc2013-epiphany-96591accb86ef759181707d92b44391651294de7.zip
ephy-about-handler: add content charset
-rw-r--r--embed/ephy-about-handler.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/embed/ephy-about-handler.c b/embed/ephy-about-handler.c
index 2c6637f1e..72fb93e0f 100644
--- a/embed/ephy-about-handler.c
+++ b/embed/ephy-about-handler.c
@@ -139,6 +139,7 @@ get_plugins_cb (WebKitWebContext *web_context,
data_str = g_string_new ("<html>");
g_string_append_printf (data_str, "<head><title>%s</title>" \
+ "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />" \
"<style type=\"text/css\">%s</style></head><body>",
_("Installed plugins"),
ephy_about_handler_get_style_sheet (about_request->handler));
@@ -214,6 +215,7 @@ handle_memory_finished_cb (EphyAboutHandler *handler,
memory = g_task_propagate_pointer (G_TASK (result), NULL);
if (memory) {
g_string_append_printf (data_str, "<head><title>%s</title>" \
+ "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />" \
"<style type=\"text/css\">%s</style></head><body>",
_("Memory usage"),
ephy_about_handler_get_style_sheet (handler));
@@ -265,6 +267,7 @@ ephy_about_handler_handle_epiphany (EphyAboutHandler *handler,
char *data;
data = g_strdup_printf ("<html><head><title>Epiphany</title>"
+ "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />"
"<style type=\"text/css\">%s</style></head>"
"<body style=\"background: #3369FF; color: white; font-style: italic;\">"
"<div id=\"ephytext\">"
@@ -293,6 +296,7 @@ handle_applications_finished_cb (EphyAboutHandler *handler,
data_str = g_string_new (NULL);
g_string_append_printf (data_str, "<html><head><title>%s</title>" \
+ "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />" \
"<style type=\"text/css\">%s</style></head>" \
"<body class=\"applications-body\"><h1>%s</h1>" \
"<p>%s</p>",
@@ -381,6 +385,7 @@ ephy_about_handler_handle_incognito (EphyAboutHandler *handler,
data = g_strdup_printf ("<html>\n" \
"<head>\n" \
"<title>%s</title>\n" \
+ "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />" \
"<style type=\"text/css\">%s</style>\n" \
"</head>\n" \
"<body class=\"incognito-body\">\n" \