EBCDIC fix: t/op/lc.t failures 24-25, 29-30, 34-35, 39-40
Jarkko Hietaniemi [Wed, 30 Jan 2002 00:41:52 +0000 (00:41 +0000)]
p4raw-id: //depot/perl@14494

utf8.c

diff --git a/utf8.c b/utf8.c
index 0cdaf5f..5d124ba 100644 (file)
--- a/utf8.c
+++ b/utf8.c
@@ -1330,6 +1330,7 @@ Perl_to_utf8_case(pTHX_ U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp,char *normal
 #endif
              return utf8_to_uvchr(ustrp, 0);
         }
+        uv  = NATIVE_TO_UNI(uv);
     }
     if (lenp)
        *lenp = UNISKIP(uv);