summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index 6414e2b0a5..8f04b8931c 100644
--- a/utf8.c
+++ b/utf8.c
@@ -1360,7 +1360,7 @@ Perl_to_utf8_case(pTHX_ U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, char *norma
/* It was "normal" (a single character mapping). */
UV uv3 = UNI_TO_NATIVE(uv2);
- len = uvuni_to_utf8(ustrp, uv3) - ustrp;
+ len = uvchr_to_utf8(ustrp, uv3) - ustrp;
}
}