summaryrefslogtreecommitdiff
path: root/utf8.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 /utf8.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 'utf8.c')
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index 5d124ba5eb..cf3f48dde3 100644
--- a/utf8.c
+++ b/utf8.c
@@ -54,7 +54,7 @@ is the recommended Unicode-aware way of saying
U8 *
Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
{
- if (ckWARN_d(WARN_UTF8)) {
+ if (ckWARN(WARN_UTF8)) {
if (UNICODE_IS_SURROGATE(uv) &&
!(flags & UNICODE_ALLOW_SURROGATE))
Perl_warner(aTHX_ WARN_UTF8, "UTF-16 surrogate 0x%04"UVxf, uv);