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

Re: unusual character splitting

Thread Previous | Thread Next
Chris Ball
March 6, 2002 09:06
Re: unusual character splitting
Message ID:
>>>>> "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=""; Chris Ball | chris@void.$a | www.$a | finger: chris@$a
         "In the beginning there was nothing, which exploded."

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About