bug-texinfo
[Top][All Lists]
Advanced

[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: Thu, 24 Dec 2015 20:27:28 +0000

On 24 December 2015 at 20:23, Eli Zaretskii <address@hidden> wrote:
> But we do: that's the other hunk in the diffs:
>
> -      if (iconv_ret != (size_t) -1)
> +      /* Make sure libiconv flushes out the last converted character.
> +        This is required when the conversion is stateful, in which
> +        case libiconv might not output the last charcater, waiting to
> +        see whether it should be combined with the next one.  */
> +      if (iconv_ret != (size_t) -1
> +         && text_buffer_iconv (&output_buf, iconv_to_output,
> +                               NULL, NULL) != (size_t) -1)
>          /* Success: all of input converted. */
>          break;

Of course, you're right.



reply via email to

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