This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: [perl #118197] Cope with non-ASCII decimal separators
authorKarl Williamson <public@khwilliamson.com>
Sat, 22 Jun 2013 18:49:01 +0000 (12:49 -0600)
committerKarl Williamson <public@khwilliamson.com>
Sun, 7 Jul 2013 19:29:44 +0000 (13:29 -0600)
commit28acfe03fc59abea4ef2451b134d560f411183ab
treee9ba297137a5aea6018e24c490d990c012860003
parent7187d38ecd872451f4332f094b3d173fe8d57255
PATCH: [perl #118197] Cope with non-ASCII decimal separators

This patch causes the radix string to be examined upon a new numeric
locale being set.  If the string isn't ASCII, and the new locale is
UTF-8, it turns on the UTF-8 flag in the scalar that holds the radix.
When a floating point number is formatted in Perl_sv_vcatpvfn_flags(),
and the flag is on, the result's flag will be set on too.
lib/locale.t
locale.c
sv.c