twice, causing the loop to skip every other character.
p4raw-id: //depot/perl@14800
}
}
else {
- while (t < tend)
- d = uvchr_to_utf8(d, UNI_TO_NATIVE(*t++));
+ while (t < tend) {
+ d = uvchr_to_utf8(d, UNI_TO_NATIVE(*t));
+ t++;
+ }
}
len = d - tmpbuf;
Copy(tmpbuf, ustrp, len, U8);