[FFmpeg-devel] [PATCH] doc: declare encoding for texi2html.

Nicolas George nicolas.george at normalesup.org
Sun Jul 22 12:31:01 CEST 2012


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.

Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
 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
-- 
1.7.10.4



More information about the ffmpeg-devel mailing list