Make the POSIX key reader more robust.
Previously we read one, fixed buffer of input from the console; but this could cause a problem if a multibyte character crossed the end of the buffer boundary. Now, we detect that case from iconv and recover by reading one byte of input at a time until the conversion succeeds.
Please register or sign in to comment