Subject: | Problem related to character encoding |
Date: | Mon, 8 Jul 2013 01:49:00 GMT |
To: | bug-XML-Simple [...] rt.cpan.org |
From: | "Swapnajit Mitra" <mittra [...] juno.com> |
Hello, This problem may be related to Bug 36765. I have an XML that has the following header: <?xml version="1.0" encoding="Windows-1255" ?> Character encoding "Windows-1255" is for Hebrew. When I try to use XMLin, I get the following error message: Entity: line 40238: parser error : Entity 'zwj' not defined
▒╫£╓╣╫ö╓╢╫Ö╫Ü╓╕, ╫£╓┤∩¼¬╓░╫₧╓╣╫¿ ╫£╓╖╫ó╓▓∩¼½∩¡ï╫¬ ╫É╓╢╫¬-∩¼╗╓╕╫£-╫₧╓┤╫ª╓░╫ò‍
^The problem is coming because instead of interpreting the Hebrew character, the parser is interpreting it as something that starts with & and ends with ; and thus a special HTML code. I understand from the description of Bug 36765 that this could be a parser problem, and I may need to change it to a different parser. My questions are: a) How do I know which parser my XML::Simple is using? I did not compile anything and use whatever came with Strawberry Perl.b) How do I change the parser for XML::Simple? Will simply installing either XML::SAX::Expat or XML::SAX::ExpatXS ensure that the parser will change? A point to note: Internet Explorer reported the same bogus problem in IE 8 but not in IE 10.--
Swapnajit Mitra
Show quoted text
____________________________________________________________
Want to place your ad here?
Advertise on United Online
http://thirdpartyoffers.juno.com/TGL3131/51da1abbd36ca1abb2ba2st01vuc