diff options
author | Richard Hult <richard@imendio.com> | 2004-01-12 16:16:25 +0000 |
---|---|---|
committer | Richard Hult <rhult@src.gnome.org> | 2004-01-12 16:16:25 +0000 |
commit | 1c3e096ff7dd0574bd4d01eb684d015b0cc1a174 (patch) | |
tree | 9ff7eb9c1b107230ae584226faf661ad7d336c54 | |
parent | 0cd1d4de1cbbbfceaa3f05ffb6d0f5d80f9c0a3e (diff) | |
download | yelp-1c3e096ff7dd0574bd4d01eb684d015b0cc1a174.tar.gz |
Set encoding to utf-8 in the generated html. Fixes bug #131186.
2004-01-12 Richard Hult <richard@imendio.com>
* src/yelp-toc-pager.c (menu_write_page): Set encoding to utf-8 in
the generated html. Fixes bug #131186.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/yelp-toc-pager.c | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2004-01-12 Richard Hult <richard@imendio.com> + + * src/yelp-toc-pager.c (menu_write_page): Set encoding to utf-8 in + the generated html. Fixes bug #131186. + 2004-01-11 Shaun McCance <shaunm@gnome.org> * src/Makefile.am: diff --git a/src/yelp-toc-pager.c b/src/yelp-toc-pager.c index 61fa3484..549d285c 100644 --- a/src/yelp-toc-pager.c +++ b/src/yelp-toc-pager.c @@ -854,7 +854,9 @@ menu_write_page (YelpMenu *menu) g_string_append_printf (gstr, - "<head><link rel='stylesheet' type='text/css' href='%s'></head>\n", + "<head><meta http-equiv='Content-Type'" + " content='text/html=; charset=utf-8'>" + "<link rel='stylesheet' type='text/css' href='%s'></head>\n", yelp_theme_get_css_file ()); g_string_append_printf (gstr, "<body><h1>%s</h1>\n", menu->title); |