This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Add detection of Turkic UTF-8 locales
authorKarl Williamson <khw@cpan.org>
Tue, 5 Feb 2019 01:58:26 +0000 (18:58 -0700)
committerKarl Williamson <khw@cpan.org>
Tue, 5 Feb 2019 18:44:29 +0000 (11:44 -0700)
commit30d8090de81085bd3dff00c83a7ab6d3ff8dfc8d
treef3512f86d360f5c2fbaf05b88627dc2ecfafc20f
parent26be5fe6b967cd228768870a4b6138947d418d39
locale.c: Add detection of Turkic UTF-8 locales

When switching into a new locale, after it is decided this is a UTF-8
locale, the code now also checks for if the locale is a specialized
Turkic one, which has a couple of slightly modified casing change rules.
If so, it sets a flag indicating this.

The code that has been added in previous commits in this series check if
that flag is set when they are actually paying attention to the
background locale, and if so behave according to Unicode Turkic rules.
locale.c