Package: eblook
Version: 1:1.6.1-13
Tags: patch
The eblook info documentation cannot be displayed properly in a UTF-8
locale. I have tried viewing it using
$ info eblook
at the command line, and in Emacs. In both cases, the characters are
garbled ("mojibake").
Both the .info files and the .texi sources are currently encoded in euc-jp.
According to the texinfo documentation
(https://www.gnu.org/software/texinfo/manual/texinfo/html_node/_0040documentencoding.html),
texinfo doesn't currently support euc-jp input.
I was able to fix the problem by reencoding eblook.texi as UTF-8
(using "iconv -f euc-jp -t utf-8"), and then adding "@documentencoding UTF-8"
to the texinfo header (see patch below).
Makeinfo writes the document encoding into the local variables section
of the info file, therefore the info-viewer should be able to display
the UTF-8 encoded .info file correctly in locales using euc-jp too
(untested).
Patch (to be applied after reencoding eblook.texi as UTF-8):
--- eblook.reencoded-from-euc-jp-to-utf-8.texi
+++ eblook.texi
@@ -3,6 +3,7 @@
@setfilename eblook.info
@settitle eblook
@setchapternewpage off
+@documentencoding UTF-8
@c %**end of header
@set UPDATED 23 Oct. 2002
--
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]