[xml] Query about Encoding formats(Libxml doesnot recognise windows-1252 encoding scheme)


we have a feed reader application which uses libxml. We get the rss
file which is a xml file from server & use your API xmlParseMemory to
parse the xml. In our application we give url name to subscribe to
feeds. One such url is http://www.azonano.com/rss.asp. If you see the
xml for this url, there is windows-1252 encoding specified.

Due to this, libxml does not parse the file & returns null. If I
replace this encoding with its equivalent ISO-8859-1, it works fine.

Is there any generic solution to this problem where encoding which is
not supported by ;ibxml can be changed to its equivalent encoding
which is supported by libxml.

Appreciate your response.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]