This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Set utf8 flag properly in localeconv
authorKarl Williamson <khw@cpan.org>
Fri, 16 May 2014 01:29:41 +0000 (19:29 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 5 Jun 2014 17:23:00 +0000 (11:23 -0600)
commitc12840116686daefb4f2c59922677425930cd05f
tree207f2f81a8247f7e63afa89be2706345aa6b1d0c
parent03ceeedffe9eb367d0b03776eea30405b6635ebd
Set utf8 flag properly in localeconv

 Rare, but not unheard of, is for the strings returned by localeconv to
 be in UTF-8.  This commit looks for and sets the UTF-8 flag if they are.
 so encoded.

 A private function had to changed from static for this.  It is renamed
 to begin with an underscore to emphasize its private nature.
embed.fnc
embed.h
ext/POSIX/POSIX.xs
locale.c
pod/perldelta.pod
proto.h
t/run/locale.t