www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Mon, 25 Sep 2006 15:30:17 +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: | <1939582260.20060925153017@gmail.com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Perl's use locale don't work on Cygwin ? |
In-Reply-To: | <6363.24.19.24.170.1159170710.squirrel@24.19.24.170> |
References: | <1026800198 DOT 20060923122829 AT ukr DOT name> <6363 DOT 24 DOT 19 DOT 24 DOT 170 DOT 1159170710 DOT squirrel AT 24 DOT 19 DOT 24 DOT 170> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
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, Yitzchak, YST> Letting perl know what the encoding of your data is should enable /i to work YST> correctly. How you would do this depends on what exactly you are doing; it YST> may just require a "use encoding 'cp1251';". (I assume 2151 was a typo.) Well, all I got was perfectly formed UTF8 output, and this is not what I've been looking for because now I need somehow to convert UTF8 input to CP1251 to be able to use for database query and ... yes, again do case-insensitive regex on it. As soon as missing locale is an issue for lots of application, including Perl and Postgress, and as soon as maintainers of newlib do not have time or do not want to add this functionality maybe it's possible to add some hooks to use Windows' native locale support ? ActivePerl and MySQL guys did it, it's far from being perfect but at least it works. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |