delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/23/05:28:55

X-Spam-Check-By: sourceware.org
Date: Sat, 23 Sep 2006 12:28:29 +0300
From: Sergei Kolodka <ukr DOT name DOT lists AT gmail DOT com>
X-Mailer: The Bat! (v3.0) Professional
Reply-To: ukr DOT name DOT lists AT gmail DOT com
Message-ID: <1026800198.20060923122829@ukr.name>
To: cygwin AT cygwin DOT com
Subject: Perl's use locale don't work on Cygwin ?
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello, List,

Just wonder is whole Perl's "use locale" and "setlocale()" thing doesn't
works on Cygwin or I'm just too dumb to find out how to use it ?

I've tried everything I could find in perllocale to make it work,
without any success. I've even straced same script on Linux and Cygwin
and noticed that Cygwin's Perl doesn't even try to find locale-related
files.

But the worst of all is know for sure that ActiveState's Perl does
work with locale ("use locale" is enough), at least with current
Windows' locale and that's more than enough for me.

Tested on perl, v5.6.1 built for MSWin32-x86-multi-thread and
perl, v5.8.2 built for cygwin-thread-multi-64int and latest from
Cygwin mirrors.

Yes, I know that locale on Cygwin not implemented, but maybe there
are some other way to at least enable correct /i in non-ASCII Perl
regexes (Russian CP2151 for example) I'm not aware of ?

Thanks !


-- 
Regards,
Sergei Kolodka


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019