Hi, I am using XML::Simple for converting the XML into a hash. use Unicode::String qw(utf8); use XML::Simple; #use Data::Dumper; $XML = "<START>äT©imes</START>"; $u = utf8($XML); $XML = $u->utf8; $myHash = XMLin($XML); #print Dumper($myHash); The above code works fine... But the problem is when i used the Input string as <START>äT©imes</START> There is a character which makes the parser to threw an error. not well-formed (invalid token) at line 1, column 12, byte 12 at D:/Perl/lib/XML /Parser.pm line 187 How to encode these characters().I found this character as an utf-8 character from the below link http://www.tony-franks.co.uk/UTF-8.htm if it is something other than UTF-8 then how to encode it. Thanks in advance, Prabu.M.A
--------------------------------- TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV.