diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-21 00:54:49 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-21 00:54:49 +0000 |
commit | b851fbc1add6c3d9fa6158884279133c311a3efc (patch) | |
tree | 87e5be7072ad6e52eb1cfd85805e3c7ba034dab6 /op.c | |
parent | 70b75758f8fb2cc713010bb8bc05cd986151b9b2 (diff) | |
download | perl-b851fbc1add6c3d9fa6158884279133c311a3efc.tar.gz |
Make using U+FDD0..U+FDEF (noncharacters since Unicode 3.1),
U+...FFFE, U+...FFFF, and characters beyond U+10FFFF
(the Unicode maximum code point) warnable offenses.
p4raw-id: //depot/perl@13823
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2866,7 +2866,8 @@ Perl_pmtrans(pTHX_ OP *o, OP *expr, OP *repl) U8 range_mark = UTF_TO_NATIVE(0xff); sv_catpvn(transv, (char *)&range_mark, 1); } - t = uvuni_to_utf8(tmpbuf, 0x7fffffff); + t = uvuni_to_utf8_flags(tmpbuf, 0x7fffffff, + UNICODE_ALLOW_SUPER); sv_catpvn(transv, (char*)tmpbuf, t - tmpbuf); t = (U8*)SvPVX(transv); tlen = SvCUR(transv); |