Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks!
I'm trying to set words in a mixed case format. The cpan NameCase module seems interesting but it doesn't seem to handle german umlauts. I'm wondering if there is another way. When I use perl's lc on it. Most of the word is lowercased except for the umlaut. Any tips?
The output is:#!/usr/local/bin/perl -w use strict; use Lingua::EN::NameCase 'nc'; print nc("BAESCHGÄSSEL") . "\n"; #not ok print lc("BAESCHGÄSSEL") . "\n"; #Better uppercase umlaut
BAESCHGÄSSEL
baeschgÄssel
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Lowercasing umlauts in words
by haoess (Curate) on Jun 10, 2004 at 19:48 UTC | |
Re: Lowercasing umlauts in words
by the_slycer (Chaplain) on Jun 10, 2004 at 19:34 UTC | |
Re: Lowercasing umlauts in words
by roju (Friar) on Jun 10, 2004 at 19:27 UTC | |
Re: Lowercasing umlauts in words
by Anonymous Monk on Jun 10, 2004 at 21:09 UTC |
Back to
Seekers of Perl Wisdom