This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Perl's use locale don't work on Cygwin ?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]