Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Lowercasing umlauts in words

by haoess (Curate)
on Jun 10, 2004 at 19:48 UTC ( #363170=note: print w/ replies, xml ) Need Help??


in reply to Lowercasing umlauts in words

From perllocale:

By default, Perl ignores the current locale. The "use locale" pragma tells Perl to use the current locale for some operations: [ ... ] lc().
$ perl -le 'print lc "";' $ echo $LC_ALL de_DE $ perl -Mlocale -le 'print lc "";'

You can switch the current locale in your perl program reading locale or perllocale.

And BTW: lc is the same as "\L".

-- Frank


Comment on Re: Lowercasing umlauts in words
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2015-07-31 18:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (280 votes), past polls