in reply to Re: international case insensitive searched with Perl
in thread international case insensitive searched with Perl

What kind of extra work is involved to make it match under unicode rules? I'm guessing it's a bit, so I might end up doing an customer-specific workaround to deal with it for them.
  • Comment on Re^2: international case insensitive searched with Perl

Replies are listed 'Best First'.
Re^3: international case insensitive searched with Perl
by Anonymous Monk on Oct 06, 2011 at 13:45 UTC
    use feature 'unicode_strings' tells perl to assume all strings are unicode.

    use utf8 tell perl to assume all strings in the current source file are unicode.

    Opening input files with a  :encoding layer will tell perl that the resulting strings are unicode.

     use encode contains subs that can be used to mark or convert strings from any other source as/to unicode.

    Hope this helps

    TJD