diff options
author | Karl Williamson <khw@cpan.org> | 2016-10-23 22:12:12 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-10-26 11:57:22 -0600 |
commit | b5eea28922ca2ea8e62b72cfe2b43ff3545c3450 (patch) | |
tree | cabaa8e7b8d7cae9188c0f101f5c110a9ad5094d /pod/perllocale.pod | |
parent | 6e16fd378454d2be9674eec45d5b26bf0678d524 (diff) | |
download | perl-b5eea28922ca2ea8e62b72cfe2b43ff3545c3450.tar.gz |
pod/perllocale: Add caution about incompatible locales
Some locales aren't compatible with Perl. Note the potential bad
consequences of using them.
Diffstat (limited to 'pod/perllocale.pod')
-rw-r--r-- | pod/perllocale.pod | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pod/perllocale.pod b/pod/perllocale.pod index dee4cb53e6..44da58f76e 100644 --- a/pod/perllocale.pod +++ b/pod/perllocale.pod @@ -909,11 +909,12 @@ pattern matching using the C<i> modifier. Starting in v5.20, Perl supports UTF-8 locales for C<LC_CTYPE>, but otherwise Perl only supports single-byte locales, such as the ISO 8859 series. This means that wide character locales, for example for Asian -languages, are not well-supported. (If the platform has the capability -for Perl to detect such a locale, starting in Perl v5.22, -L<Perl will warn, default enabled|warnings/Category Hierarchy>, -using the C<locale> warning category, whenever such a locale is switched -into.) The UTF-8 locale support is actually a +languages, are not well-supported. Use of these locales may cause core +dumps. If the platform has the capability for Perl to detect such a +locale, starting in Perl v5.22, L<Perl will warn, default +enabled|warnings/Category Hierarchy>, using the C<locale> warning +category, whenever such a locale is switched into. The UTF-8 locale +support is actually a superset of POSIX locales, because it is really full Unicode behavior as if no C<LC_CTYPE> locale were in effect at all (except for tainting; see L</SECURITY>). POSIX locales, even UTF-8 ones, |