On 25 December 2015 at 21:52, Gavin Smith <[email protected]> wrote:
>
> That may not come out right but the point is that "\201" isn't at the
> end, when it should be.
>
> I think this will be easy to fix, I'll probably do it today or tomorrow.
Here's the fix; I'll commit tomorrow unless a problem comes to light.
Index: info-utils.c
===================================================================
--- info-utils.c (revision 6893)
+++ info-utils.c (working copy)
@@ -901,6 +901,10 @@ copy_converting (long n)
}
/* Degrade to ASCII. */
+
+ /* Flush any waiting input in iconv_to_output and enter the
+ default shift state. */
+ text_buffer_iconv (&output_buf, iconv_to_output, NULL, NULL);
if (file_is_in_utf8)
{