[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: |
Sun, 27 Dec 2015 11:49:27 +0000 |
On 24 December 2015 at 20:23, Eli Zaretskii <address@hidden> wrote:
>> I'm trying to read the libc manual closely and, actually, it's
>> probably not necessary:
>>
>> If all input from the input buffer is successfully converted and
>> stored in the output buffer, the function returns the number of
>> non-reversible conversions performed. In all other cases the
>> return value is `(size_t) -1' and `errno' is set appropriately.
>>
>> So if there's one character held back waiting for a following
>> combining character, there won't be a positive return value indicating
>> success.
>
> The manual is inaccurate. It shouldn't say "and stored in the output
> buffer", or at least clarify that the last character is sometimes not
> stored until the flushing call.
I raised a bug for the manual here:
https://sourceware.org/bugzilla/show_bug.cgi?id=19404
- Re: Using iconv in stand-alone info, (continued)
- Re: Using iconv in stand-alone info, Eli Zaretskii, 2015/12/23
- Re: Using iconv in stand-alone info, Gavin Smith, 2015/12/23
- Re: Using iconv in stand-alone info, Eli Zaretskii, 2015/12/23
- Re: Using iconv in stand-alone info, Eli Zaretskii, 2015/12/23
- Re: Using iconv in stand-alone info, Eli Zaretskii, 2015/12/23
- Re: Using iconv in stand-alone info, Gavin Smith, 2015/12/23
- Re: Using iconv in stand-alone info, Eli Zaretskii, 2015/12/24
- Re: Using iconv in stand-alone info, Gavin Smith, 2015/12/24
- Re: Using iconv in stand-alone info, Eli Zaretskii, 2015/12/24
- Re: Using iconv in stand-alone info, Gavin Smith, 2015/12/24
- Re: Using iconv in stand-alone info,
Gavin Smith <=
- Re: Using iconv in stand-alone info, Gavin Smith, 2015/12/24
- Re: Using iconv in stand-alone info, Eli Zaretskii, 2015/12/25
- Re: Using iconv in stand-alone info, Gavin Smith, 2015/12/25
- Re: Using iconv in stand-alone info, Eli Zaretskii, 2015/12/25
- Re: Using iconv in stand-alone info, Gavin Smith, 2015/12/25
- Re: Using iconv in stand-alone info, Gavin Smith, 2015/12/25
- Re: Using iconv in stand-alone info, Eli Zaretskii, 2015/12/26
- Re: Using iconv in stand-alone info, Gavin Smith, 2015/12/26