diff options
author | Zbigniew Chyla <cyba@gnome.pl> | 2002-03-24 17:24:58 +0000 |
---|---|---|
committer | Chyla Zbigniew <chyla@src.gnome.org> | 2002-03-24 17:24:58 +0000 |
commit | 6e752e7b58670555a7b01f52ee8667f14a82e4d6 (patch) | |
tree | 2a45900d37fdbada01f8b3b0ada0fe362dac3007 | |
parent | eb7832038b933c96782763670b804202580042ee (diff) | |
download | yelp-6e752e7b58670555a7b01f52ee8667f14a82e4d6.tar.gz |
Fixes #72583
2002-03-24 Zbigniew Chyla <cyba@gnome.pl>
Fixes #72583
* src/yelp-view-toc.c (yelp_view_toc_write_header):
Put <meta http-equiv="Content-Type" ...> _before_ <title> tag
so that document's encoding is known before we encounter localized
title (UTF-8 string).
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | src/yelp-view-toc.c | 2 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,12 @@ +2002-03-24 Zbigniew Chyla <cyba@gnome.pl> + + Fixes #72583 + + * src/yelp-view-toc.c (yelp_view_toc_write_header): + Put <meta http-equiv="Content-Type" ...> _before_ <title> tag + so that document's encoding is known before we encounter localized + title (UTF-8 string). + 2002-03-23 Mikael Hallendal <micke@codefactory.se> * src/yelp-info.c (yelp_info_init): diff --git a/src/yelp-view-toc.c b/src/yelp-view-toc.c index 133f3ae2..60096f6c 100644 --- a/src/yelp-view-toc.c +++ b/src/yelp-view-toc.c @@ -219,10 +219,10 @@ yelp_view_toc_write_header (YelpViewTOC *view, char *title) char *header="\n" "<html>\n" " <head>\n" +" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n" " <title>\n" " %s\n" " </title> \n" -" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n" " <style type=\"text/css\">\n" " A:link { color: #00008b }\n" " A:visited { color: #00008b }\n" |