projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Turn the I/O Unicode error by default on, but the
[p5sagit/p5-mst-13.2.git]
/
utf8.c
diff --git
a/utf8.c
b/utf8.c
index
5d124ba
..
cf3f48d
100644
(file)
--- 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);