[Top][All Lists]

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

Re: Using iconv in stand-alone info

From: Gavin Smith
Subject: Re: Using iconv in stand-alone info
Date: Mon, 21 Dec 2015 19:51:56 +0000

On 21 December 2015 at 17:08, Eli Zaretskii <address@hidden> wrote:
> I noticed that info-utils.c doesn't call 'iconv' one last time after
> the conversion is finished.  This is required to output the last
> character when the conversion is implemented by libiconv as a stateful
> one.
> See this discussion on Wget mailing list about one such problem:
>   http://lists.gnu.org/archive/html/bug-wget/2015-12/msg00111.html
>   http://lists.gnu.org/archive/html/bug-wget/2015-12/msg00113.html
> So I suggest we fix this in Info by adding a call to 'iconv' when the
> conversion returns with success.

Sounds good, I'm not opposed to such a change. Will you write the
change? Out of curiosity, what is the state shift character in CP1255?
I couldn't see one at https://en.wikipedia.org/wiki/Windows-1255.

In theory there's a problem with the interpretation of shift
characters, especially locking shifts in the Info format, because you
have to ask what the shift state should be for things like the "File:"
keyword. Probably not a real problem though - Info files in encodings
like ISO-2022-JP probably don't exist.

reply via email to

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