HI, I want to translate some utf8 characters to appropriate characters.I use utf8 module,but it seems to work uncorrectly.
This is the code: ---------------------------------------------------- use utf8; #if (utf8::valid($subject)) if (Encode::is_utf8($subject)) { $subject=utf8::decode($subject); print $subject,"\n"; } ---------------------------------------------------- It seems that the is_utf8() function can't judge the given string is utf8 or not. my perl version is 5.8.0. can anyone give me some advises? thanks. -- Jeff Pan [EMAIL PROTECTED] -- http://www.fastmail.fm - A no graphics, no pop-ups email service -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>