emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Info pages opened with an incorrect coding system


From: Eli Zaretskii
Subject: Re: Info pages opened with an incorrect coding system
Date: Fri, 06 Jul 2007 15:43:50 +0300

> From: Zhang Wei <address@hidden>
> Date: Fri, 06 Jul 2007 09:56:08 +0800
> 
> This problem happens with "emacs -Q", I don't think my .emacs cause
> this.

Right.  I managed to reproduce this problem on my machine in "emacs -Q".

> The comments in emacs-mime.texi specify which coding system should be
> used to edit it:
> 
> --8<---------------cut here---------------start------------->8---
> @c Local Variables:
> @c mode: texinfo
> @c coding: iso-8859-1
> @c End:
> --8<---------------cut here---------------end--------------->8---
> 
> but the generated emacs-mime info file doesn't specify which coding
> should be used to view it. I think that's why emacs open it with the
> default coding system chinese-iso-8bit.

Yes.

Unfortunately, the way to fix this is not simple.  The way to put an
appropriate `coding:' tag in an Info file is to use the
@documentencoding command in the Texinfo source, and then use the
"--enable-encoding" command-line switch to makeinfo.  But these two
features were added in Texinfo 4.6, and I don't think we've decided to
require such a new version (released in June 2003) yet.

Richard, is it okay to assume Texinfo 4.6 for the CVS trunk?  If it's
okay, I can fix emacs-mime.texi and man/Makefile.in as described
above.




reply via email to

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