Re: [perl #134187] Turkic casing not working in freebsd

--8323329-1817949687-1560239951=:4634
Content-Type: text/plain; CHARSET=UTF-8; FORMAT=flowed
Content-ID: <alpine.LSU.2.20.1906111259352.4634@lenonovo.gooddata.com>
Content-Transfer-Encoding: quoted-printable

The test that was originally failing should have been skipped if setting =
the=20
locale failed. It's a bit convoluted, see

https://metacpan.org/source/CHOROBA/Syntax-Construct-1.011/t/02-construct=
s.t#L39

Ch.

(trying a different e-mail address as the e-mail from cpan.org hasn't bee=
n=20
displayed yet)

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
On Mon, 10 Jun 2019, Karl Williamson via RT wrote:
> Does foldgrind_t.t say skipped. If so the os doesn=E2=80=99t provide a =
working=20
> Turkish locale
>=20
> Sent from my iPhone
>=20
>> On Jun 10, 2019, at 11:29 AM, James E Keenan via RT=20
>> <perlbug-followup@perl.org> wrote:
>>=20
>>> On Mon, 10 Jun 2019 16:08:34 GMT, slaven@rezic.de wrote:
>>> Dana Mon, 10 Jun 2019 09:01:46 -0700, jkeenan re=C4=8De:
>>>>> On Sun, 09 Jun 2019 17:00:56 GMT, choroba@cpan.org wrote:
>>>>> This is a bug report for perl from choroba@cpan.org,
>>>>> generated with the help of perlbug 1.39 running under perl 5.18.2.
>>>>>=20
>>>>>=20
>>>>> -----------------------------------------------------------------
>>>>> [Please describe your issue here]
>>>>>=20
>>>>> The turkic casing doesn't work on freebsd. Running the following in
>>>>> 5.30.0 works in Linux, but not FreeBSD:
>>>>>=20
>>>>>=20
>>>>> #!/usr/bin/perl
>>>>> use warnings;
>>>>> use strict;
>>>>>=20
>>>>> use Test::More tests =3D> 1;
>>>>>=20
>>>>> use locale;
>>>>> use POSIX 'locale_h';
>>>>> setlocale(LC_ALL, 'tr_TR.UTF-8');
>>>>>=20
>>>>> is lc 'I', "\N{LATIN SMALL LETTER DOTLESS I}";
>>>>> __END__
>>>>>=20
>>>>> See also https://rt.cpan.org/Public/Bug/Display.html?id=3D129766
>>>>>=20
>>>>> Ch.
>>>>=20
>>>> Could you attach the 'perl -V' output for perl on the FreeBSD box
>>>> where you noticed this problem?
>>>>=20
>>>> Thank you very much.
>>>=20
>>> I was the original reporter.
>>> Attached 3x perl -V, from different freebsd versions.
>>>=20
>>> Regards,
>>>    Slaven
>>>=20
>>=20
>> Thanks.  I can confirm the problem on FreeBSD-11.2.  My system has no=20
>> problem printing LATIN SMALL LETTER DOTLESS I -- it's octal 304 261.  =
So,=20
>> does that mean that on this OS, the appropriate uc-to-lc mapping for t=
his=20
>> locale is incorrect?
>>=20
>> And, if so, that's a FreeBSD problem rather than a Perl problem -- cor=
rect?
>>=20
>> Thank you very much.
>> --
>> James E Keenan (jkeenan@cpan.org)
>>=20
>> ---
>> via perlbug:  queue: perl5 status: open
>> https://rt.perl.org/Ticket/Display.html?id=3D134187
>
--8323329-1817949687-1560239951=:4634--
0
choroba
6/11/2019 11:04:37 AM
perl.perl5.porters 47781 articles. 1 followers. Follow

0 Replies
40 Views

Similar Articles

[PageSpeed] 26

Reply: