develooper Front page | perl.perl5.porters | Postings from April 2016

Re: RFC: refuse to change into an unsupported locale

Thread Previous
Karl Williamson
April 24, 2016 04:07
Re: RFC: refuse to change into an unsupported locale
Message ID:
On 04/23/2016 05:07 PM, Zefram wrote:
> Karl Williamson wrote:
>> Perl supports most single-byte locales, plus UTF-8 locales.
> What do you mean by "Perl supports"?  What kind of support is required
> from Perl?

Put most baldly, if a ticket were filed saying that a non-supported 
locale was failing, the ticket would be rejected.  I would try to fix a 
ticket for a supported locale.

perl does a number of things to support single-byte locales.  For 
instance, it constructs a table of each 256 bytes for use in qr//i.
It does work around some deficiencies in certain, notably Win32, 
>> On some platforms, just switching into some of these locales can
>> cause perl to segfault (or rather it is a bug in the libc in failing
>> to detect garbage input)
> We can't be expected to work around such a libc bug.

I don't see the point to this statement.

> -zefram

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About