[FFmpeg-cvslog] doc: declare encoding for texi2html.

Nicolas George git at videolan.org
Sun Jul 22 12:53:32 CEST 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Sun Jul 22 12:29:22 2012 +0200| [21fb7ff35ba9b0a4df83bb3139a3f14e13cd29f9] | committer: Nicolas George

doc: declare encoding for texi2html.

It adds the following header to the HTML files:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
which helps some browsers to display correctly the few non-ASCII
characters in the doc.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=21fb7ff35ba9b0a4df83bb3139a3f14e13cd29f9
---

 doc/t2h.init |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/t2h.init b/doc/t2h.init
index db5536b..1eb6658 100644
--- a/doc/t2h.init
+++ b/doc/t2h.init
@@ -158,6 +158,9 @@ $AFTER_BODY_OPEN
 EOT
 }
 
+# declare encoding in header
+$IN_ENCODING = $ENCODING = "utf-8";
+
 # no navigation elements
 $SECTION_NAVIGATION = 0;
 # the same for texi2html 5.0



More information about the ffmpeg-cvslog mailing list