summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-01-31 15:26:41 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-31 15:26:41 +0000
commit62961d2e50d22e7ae5a679eac7bf6d593193e108 (patch)
treef95115fdf1647a324092e9463ab667a475f4036d /pp.c
parent725d232a70026302b7898692e2e17c43b9ad4e76 (diff)
downloadperl-62961d2e50d22e7ae5a679eac7bf6d593193e108.tar.gz
Turn the I/O Unicode error by default on, but the
character-generating Unicode error by default off, as Larry suggested. p4raw-id: //depot/perl@14505
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pp.c b/pp.c
index 2d462c45a3..51facc0730 100644
--- a/pp.c
+++ b/pp.c
@@ -3168,8 +3168,7 @@ PP(pp_chr)
if (value > 255 && !IN_BYTES) {
SvGROW(TARG, UNISKIP(value)+1);
- tmps = (char*)uvchr_to_utf8_flags((U8*)SvPVX(TARG), value,
- UNICODE_ALLOW_SUPER);
+ tmps = (char*)uvchr_to_utf8_flags((U8*)SvPVX(TARG), value, 0);
SvCUR_set(TARG, tmps - SvPVX(TARG));
*tmps = '\0';
(void)SvPOK_only(TARG);