in reply to Re: XML::Simple parser error : Input is not proper UTF-8, indicate encoding
in thread XML::Simple parser error : Input is not proper UTF-8, indicate encoding
$ echo '<root></root>' | xmllint - -:1: parser error : xmlParseCharRef: invalid xmlChar value 14 <root></root> ^
Likewise CDATA is unsuitable:
$ perl -e'print "<root><![CDATA[\x{0e}]]></root>"' | xmllint - -:1: parser error : PCDATA invalid Char value 14 <root><![CDATA[]]></root> ^
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: XML::Simple parser error : Input is not proper UTF-8, indicate encoding
by BrowserUk (Patriarch) on Aug 10, 2012 at 13:46 UTC | |
by daxim (Curate) on Aug 10, 2012 at 13:49 UTC | |
by BrowserUk (Patriarch) on Aug 10, 2012 at 14:08 UTC | |
by daxim (Curate) on Aug 10, 2012 at 17:18 UTC |