If iconv() returns an error and the source encoding
is utf-8, the character jump has an of by one: the
source string is incresed by one possition more the
the length is decreased.
break;
/* skip to next input character */
if (fromutf8) {
break;
/* skip to next input character */
if (fromutf8) {
- for (start++;(start < q) && ((*start & 192) == 128);start++)
+ inbytes--;
+ start++;
+ while ((start < q) && ((*start & 192) == 128)) {
+ start++;
} else
start++, inbytes--;
if (start >= q)
} else
start++, inbytes--;
if (start >= q)