This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Raise warning on multi-byte char in single-byte locale
authorKarl Williamson <khw@cpan.org>
Mon, 29 Dec 2014 20:15:57 +0000 (13:15 -0700)
committerKarl Williamson <khw@cpan.org>
Mon, 29 Dec 2014 20:52:57 +0000 (13:52 -0700)
commit613abc6d16e99bd9834fe6afd79beb61a3a4734d
tree3d2287cfb7ac08c691a642d58b96a2daa76f999d
parentdbf3c4d788344c8d20eb2549c638ced519d3f0e8
Raise warning on multi-byte char in single-byte locale

See http://nntp.perl.org/group/perl.perl5.porters/211909

Something is quite likely wrong with the logic if say in a Greek locale,
Unicode characters (especially Greek ones) are encountered.  The same
character will be represented by two different code points.  This
warning alerts the user to this undesirable state of affairs.
perl.h
pod/perldelta.pod
pod/perldiag.pod
pod/perllocale.pod
regexec.c
t/lib/warnings/regexec
t/lib/warnings/utf8
t/re/charset.t
t/re/pat_advanced.t
utf8.c