Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: international case insensitive searched with Perl

by mwhiting (Beadle)
on Oct 04, 2011 at 15:57 UTC ( #929586=note: print w/ replies, xml ) Need Help??


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
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://929586]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2014-08-27 20:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (252 votes), past polls