summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index cc64ee6cd0..2a239951d8 100644
--- a/utf8.c
+++ b/utf8.c
@@ -179,7 +179,7 @@ Perl_uvoffuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
}
}
if (UNI_IS_INVARIANT(uv)) {
- *d++ = (U8) I8_TO_NATIVE_UTF8(uv);
+ *d++ = (U8) LATIN1_TO_NATIVE(uv);
return d;
}
#if defined(EBCDIC)