develooper Front page | perl.beginners | Postings from March 2002

Re: unusual character splitting

Thread Previous | Thread Next
From:
Chris Ball
Date:
March 6, 2002 09:06
Subject:
Re: unusual character splitting
Message ID:
87k7spd3re.fsf@lexis.house.pkl.net
>>>>> "alex" == alex vandenabeele <Lex> writes:

    alex> thus is my question: which regex do i have to use so i'll get
    alex> the words with diaeresis also in @words?

Hi, Alex.

Try turning on Perl's locale support to help with this - add the line
'use locale;' to the top of your script.  It depends on your system's
locale configuration being sane, but it should solve your problem if
this is so.

Hope this helps,

- Chris.
-- 
$a="printf.net"; Chris Ball | chris@void.$a | www.$a | finger: chris@$a
         "In the beginning there was nothing, which exploded."


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About