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

Stefano Sabatini stefasab at gmail.com
Sun Jul 22 12:39:00 CEST 2012


On date Sunday 2012-07-22 12:31:01 +0200, Nicolas George encoded:
> 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

Should be OK if useful.
-- 
FFmpeg = Foolish and Fabulous Minimal Purposeless Elected Gymnast


More information about the ffmpeg-devel mailing list