This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.c: Allow Changed behavior of utf8 under locale
authorKarl Williamson <public@khwilliamson.com>
Wed, 14 Dec 2011 04:48:19 +0000 (21:48 -0700)
committerKarl Williamson <public@khwilliamson.com>
Thu, 15 Dec 2011 23:25:51 +0000 (16:25 -0700)
commit051a06d4bf2bf1ff5da602fa4088227becfa244f
tree307c39afe3e27ef127e6cea8b2e50eb006052976
parent4b59338969ca96226e559bdd556f9f56e4fcbc17
utf8.c: Allow Changed behavior of utf8 under locale

This changes the 4 case changing functions to take extra parameters to
specify if the utf8 string is to be processed under locale rules when
the code points are < 256.  The current functions are changed to macros
that call the new versions so that current behavior is unchanged.

An additional, static, function is created that makes sure that the
255/256 boundary is not crossed during the case change.
embed.fnc
embed.h
proto.h
utf8.c
utf8.h