Front page | perl.perl5.porters |
Postings from June 2014
Re: [perl #121734]
Thread Previous
|
Thread Next
From:
Karl Williamson
Date:
June 5, 2014 00:30
Subject:
Re: [perl #121734]
Message ID:
538FBA16.2080307@khwilliamson.com
On 04/25/2014 02:10 PM, Reini Urban wrote:
> On 04/25/2014 03:02 PM, karl williamson via RT wrote:
>> On 04/25/2014 01:33 PM, rurban@cpanel.net (via RT) wrote:
>>> ./perl -MPOSIX -e'setlocale(LC_ALL, "ja_JP.utf8")'
>>
>> It works on my Linux; I notice that there is no -I parameter in your
>> example. Are you sure you are getting the correct library path?
>
> yes, sorry.
>
> This fails only on cygwin, only tested on 32bit.
> It fails with most eastern locales, but some eastern locales do pass.
>
I had a look at the code. It's from these two lines in locale.c:
/* 50: surely no system expands a char more. */
#define XFRMBUFSIZE (2 * 50)
That '50' looks like a guess. You could try bumping it up until
everything passes, and we could then use that instead of having to skip
locales in the tests.
Thread Previous
|
Thread Next