|
From: | Julien Bect |
Subject: | Re: generate_html: utf-8 texinfo broken |
Date: | Fri, 06 Mar 2015 15:19:05 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
Le 06/03/2015 14:01, Colin Macdonald a écrit :
I'm using utf-8 unicode in my texinfo docs for Symbolic package. Mostly works fine within Octave---except on Windows which is https://savannah.gnu.org/bugs/?43099 which is on the list for 4.0. However, "get_html_options" from the generate_html pkg is hardcoding a iso-8859-1 header, so online my unicode renders as garbage. "makeinfo --html" respects the texinfo tag "@documentencoding UTF-8" so there is no problem at that level.
Sure. Actually, even without a @documentencoding, the output of makeinfo is marked as utf-8.
Should I patch generate_html pkg? I could presumably make it check @documentencoding... Personally, I feel life it too short to care about non-utf-8: would hardcoding to utf-8 instead be frowned upon?
The problem is already solved in the development version of generate_html. http://sourceforge.net/p/octave/generate_html/ci/bc4bd4215c680ecc1fec89a772169cd018806659/There should be a release of generate_html soon, but you can use the development version until then.
@++ Julien
[Prev in Thread] | Current Thread | [Next in Thread] |