in reply to Malformed UTF-8 character
You probably have some strings with high-bits set in them.
Find out what their encoding is and then apply
Then you can apply s//
Regards.
where <encoding> can be "iso-8859-1", "utf8" of one of the other encodings available...see Encode help.use Encode; my $perl_string = decode(<encoding>, $original_string);
Then you can apply s//
Regards.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Malformed UTF-8 character
by jeanluca (Deacon) on Mar 14, 2006 at 14:58 UTC | |
by mirod (Canon) on Mar 14, 2006 at 15:51 UTC | |
by Realbot (Scribe) on Mar 14, 2006 at 17:32 UTC |
In Section
Seekers of Perl Wisdom