develooper Front page | perl.perl5.porters | Postings from November 2014

Re: new locale warnings (Re: [perl.git] branch blead,updated. v5.21.5-435-gbd083ee)

Thread Previous | Thread Next
From:
Craig A. Berry
Date:
November 16, 2014 00:26
Subject:
Re: new locale warnings (Re: [perl.git] branch blead,updated. v5.21.5-435-gbd083ee)
Message ID:
E3BB6570-F83A-48BB-A150-C035732A0C5E@mac.com

> On Nov 15, 2014, at 5:23 PM, Karl Williamson <public@khwilliamson.com> wrote:
> 
> On 11/15/2014 03:12 PM, Craig A. Berry wrote:
>>  had done another test on Windows since I first wrote and noticed that the "C" locale is one of the ones Perl claims not to handle very well.  Which may well be correct but seems odd.
> 
> I just checked this out on the Windows machine accessed off of dromedary, and did not see this problem.  I reverted the patch so that warnings were on before looking, and the only locales that showed errors were validly problematic.  The C locale was tested but did not warn.

Hmm.  Below is an example of what I got before you disabled the warnings.  This on Windows 7 with CCTYPE=MSVC110 (Visual Studio 2012).  As far as I know it's a bog standard U.S. installation of Windows 7 Pro and it does, for some reason, think "Locale 'C' may not work well."  Let me  know if there's anything you want to look at further related to this.

../lib/locale.t .................................................... 1/? Locale 'Chinese_People's Republic of China.936' may not work well.  Some characters in it are not recognized by Perl.
Locale 'Chinese_People's Republic of China.936' may not work well.  Some characters in it are not recognized by Perl.
Locale 'zh' may not work well.  Some characters in it are not recognized by Perl.
Locale 'C' may not work well.  Some characters in it are not recognized by Perl.
Locale 'Japanese_Japan.932' may not work well.  Some characters in it are not recognized by Perl.
Locale 'Japanese_Japan.932' may not work well.  Some characters in it are not recognized by Perl.
Locale 'ja' may not work well.  Some characters in it are not recognized by Perl.
Locale 'C' may not work well.  Some characters in it are not recognized by Perl.
Locale 'Korean_Korea.949' may not work well.  Some characters in it are not recognized by Perl.
Locale 'Korean_Korea.949' may not work well.  Some characters in it are not recognized by Perl.
Locale 'ko' may not work well.  Some characters in it are not recognized by Perl.
Locale 'C' may not work well.  Some characters in it are not recognized by Perl.
Locale 'Chinese_People's Republic of China.936' may not work well.  Some characters in it are not recognized by Perl.
Locale 'Chinese_People's Republic of China.936' may not work well.  Some characters in it are not recognized by Perl.
Locale 'Chinese_People's Republic of China.936' may not work well.  Some characters in it are not recognized by Perl.
Locale 'Japanese_Japan.932' may not work well.  Some characters in it are not recognized by Perl.
Locale 'Japanese_Japan.932' may not work well.  Some characters in it are not recognized by Perl.
Locale 'Japanese_Japan.932' may not work well.  Some characters in it are not recognized by Perl.
Locale 'Korean_Korea.949' may not work well.  Some characters in it are not recognized by Perl.
Locale 'Korean_Korea.949' may not work well.  Some characters in it are not recognized by Perl.
Locale 'Korean_Korea.949' may not work well.  Some characters in it are not recognized by Perl.
Locale 'C' may not work well.  Some characters in it are not recognized by Perl.
Locale 'ja' may not work well.  Some characters in it are not recognized by Perl.
Locale 'C' may not work well.  Some characters in it are not recognized by Perl.
Locale 'ko' may not work well.  Some characters in it are not recognized by Perl.
Locale 'C' may not work well.  Some characters in it are not recognized by Perl.
Locale 'zh' may not work well.  Some characters in it are not recognized by Perl.
../lib/locale.t .................................................... ok
../lib/open.t ...................................................... ok
../lib/overload.t .................................................. ok


________________________________________
Craig A. Berry
mailto:craigberry@mac.com

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About