mwhiting has asked for the wisdom of the Perl Monks concerning the following question:
How do I case shift accented characters? I want to take "LES MISÉRABLES" and change it to "LES MISéRABLES". This is so that I can do a regex comparison against that string. I don't need to shift the rest of the characters because I can do a case insensitive comparison on the rest of it (\\i), but that doesn't work on the accented characters.
I tried the lc function, but it just gives me "LES MISRABLES"
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Case shifting on accented characters
by ikegami (Patriarch) on Sep 12, 2013 at 20:50 UTC | |
Re: Case shifting on accented characters (casefold, fc)
by Anonymous Monk on Sep 13, 2013 at 08:43 UTC |
Back to
Seekers of Perl Wisdom