In addition to ikegami's excellent description of what is wrong with your XML input, another option to consider is to pass all input through Encoding::FixLatin before passing it to XML::Simple. This will ensure that the characters are UTF-8 encoded by the time they get to the parser. This assumes that your input is ASCII/Latin-1/CP1252/UTF-8 or some mixture thereof.
In reply to Re: XML::Simple Non-UTF-8 characters won't read
by grantm
in thread XML::Simple Non-UTF-8 characters won't read
by danjkool35
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |