in reply to Problem reading £ sign with XML::Simple

So your incoming file is encoded with iso-8859-1, right?

I think the right solution ould be to transcode it to UTF-8 before passing it to XML::Simple.

See this node :ASCII to UTF-8 for various way to achieve that. See also this one : XML converts to UTF-8 and causes problems for non-English language speakers

Alternatively you may want to use Unicode::Map.

  • Comment on Re: Problem reading £ sign with XML::Simple