perl-unicode

Re: Strange "UTF-8" problem

2004-04-13 00:30:06
Oh thanks a lot. This was the problem.
I solved it by installing perl 5.8.3.

Teddy

----- Original Message ----- 
From: "David Graff" <graff(_at_)lorax(_dot_)ldc(_dot_)upenn(_dot_)edu>
To: "Octavian Rasnita" <orasnita(_at_)fcc(_dot_)ro>
Cc: <perl-unicode(_at_)perl(_dot_)org>
Sent: Tuesday, April 13, 2004 5:34 AM
Subject: Re: Strange "UTF-8" problem



orasnita(_at_)fcc(_dot_)ro said:
The one line script was:
perl -e 'open(I, "lang.lng"); while(<I>) {next if /^[\t ]*#/; next
unless
/\w/; s/\s*$//; print;}'

The text file lang.lng was:
line1=mâta

<Prev in Thread] Current Thread [Next in Thread>