diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-17 03:13:30 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-17 03:13:30 +0000 |
commit | f5cee1512fcf6895e1f72eb692b5716509ecd392 (patch) | |
tree | deed06c17e78f67b7d52e9978de8580e8af8d6a0 | |
parent | a8ef55665a00078b5e7902dac1bf66fe969b43bd (diff) | |
download | perl-f5cee1512fcf6895e1f72eb692b5716509ecd392.tar.gz |
EBCDIC: to_utf8_case() is supposed to get its low 256
input in native code points, not Unicode.
p4raw-id: //depot/perl@14726
-rw-r--r-- | utf8.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1857,7 +1857,7 @@ Perl_ibcmp_utf8(pTHX_ const char *s1, char **pe1, register UV l1, bool u1, const if (u1) to_utf8_fold(p1, foldbuf1, &foldlen1); else { - natbuf[0] = NATIVE_TO_UNI(*p1); + natbuf[0] = *p1; to_utf8_fold(natbuf, foldbuf1, &foldlen1); } q1 = foldbuf1; @@ -1867,7 +1867,7 @@ Perl_ibcmp_utf8(pTHX_ const char *s1, char **pe1, register UV l1, bool u1, const if (u2) to_utf8_fold(p2, foldbuf2, &foldlen2); else { - natbuf[0] = NATIVE_TO_UNI(*p2); + natbuf[0] = *p2; to_utf8_fold(natbuf, foldbuf2, &foldlen2); } q2 = foldbuf2; |