octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

generate_html breaks documentation encoding


From: Oliver Heimlich
Subject: generate_html breaks documentation encoding
Date: Thu, 15 Jan 2015 23:13:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0

Hello,

I am preparing the first release of the interval package and encounter the following problem:

The m-files are encoded in UTF-8 and most documentation strings contain non-ASCII characters.

The generate_html command somehow tries to convert the document strings from iso-8859-1 to utf-8 and labels the result as iso-8859-1 in the html header. This is wrong in at least two ways and the resulting html page is broken.

Is this a general problem with the generate_html package or a misconfiguration of my system's locales?

I have found out, that the unwanted conversion happens in the __makeinfo__ function. The html header in the __makeinfo__ output is then replaced by the template in the generate_html package without re-encoding.

Oliver Heimlich



reply via email to

[Prev in Thread] Current Thread [Next in Thread]