summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgs@consttype.org>2009-10-03 09:56:42 +0200
committerRafael Garcia-Suarez <rgs@consttype.org>2009-10-03 09:56:42 +0200
commit6f6ac1dea8501596050bc974dc468632797d51eb (patch)
tree5d5ed4df5104c3e0de5c3f5deb6baf763483051b /utf8.c
parent085fe5e3f25d1e01aa43f2b4f57652dea9b3ab4b (diff)
downloadperl-6f6ac1dea8501596050bc974dc468632797d51eb.tar.gz
Change warning "Unicode character is illegal" to more accurate description
That now reads "Unicode non-character is illegal in interchange" and the perldiag documentation is expanded a bit.
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 a68af530e7..c154fdb9ba 100644
--- a/utf8.c
+++ b/utf8.c
@@ -127,7 +127,7 @@ Perl_uvuni_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags)
!(flags & UNICODE_ALLOW_SUPER))
)
Perl_warner(aTHX_ packWARN(WARN_UTF8),
- "Unicode character 0x%04"UVxf" is illegal", uv);
+ "Unicode non-character 0x%04"UVxf" is illegal for interchange", uv);
}
if (UNI_IS_INVARIANT(uv)) {
*d++ = (U8)UTF_TO_NATIVE(uv);