We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2b0b69 commit 44641fdCopy full SHA for 44641fd
utf8.c
@@ -1616,8 +1616,7 @@ Perl__utf8n_to_uvchr_msgs_helper(const U8 *s,
1616
* byte. For surrogates we could just look at the bytes, but
1617
* this single algorithm works for both those and supers. */
1618
for (unsigned i = curlen; i < expectlen; i++) {
1619
- uv = UTF8_ACCUMULATE(uv,
1620
- I8_TO_NATIVE_UTF8(UTF_MIN_CONTINUATION_BYTE));
+ uv = UTF8_ACCUMULATE(uv, UTF8_MIN_CONTINUATION_BYTE);
1621
}
1622
1623
0 commit comments