SPUG: Malformed UTF-8 character (unexpected end of string)

MADRANO ZALVIDAR, L LUIMAD at SAFECO.com
Thu Jul 15 15:39:59 CDT 2004


Basically I'm just parsing a web log. But this is the line where is
showing the error:

my @temp=split(' ',$line);

And is very weird. Why should break just splitting a string. 

Any thoughts.

Luis


-----Original Message-----
From: Andrew Sweger [mailto:andrew at sweger.net] 
Sent: Thursday, July 15, 2004 1:23 PM
To: MADRANO ZALVIDAR, L
Cc: spug-list at mail.pm.org
Subject: Re: SPUG: Malformed UTF-8 character (unexpected end of string)

According to perldoc perldiag:

Malformed UTF-8 character (%s)

    Perl detected something that didn't comply with UTF-8 encoding
rules.

    One possible cause is that you read in data that you thought to be
in
    UTF-8 but it wasn't (it was for example legacy 8-bit data).  Another
    possibility is careless use of utf8::upgrade().

Can you provide any other information about the application you're
having
trouble with?

On Thu, 15 Jul 2004, MADRANO ZALVIDAR, L wrote:

> working with some logs. but for some reason is showing this error
> "Malformed UTF-8 character (unexpected end of string) ", when I run
the
> script. Anybody knows how can this be fix? 

-- 
Andrew B. Sweger -- The great thing about multitasking is that several
                                things can go wrong at once.








More information about the spug-list mailing list