I am using perl module XML::LibXML.
XML::LibXML get string, which contains whole xml file with utf8 encoding. I get information from xml using findnodes and textContent. But when I try to print them into HTML page using charset=UTF-8 it comes with bad characters like "�". When I dont use charset=UTF-8 in head of html page, it is correct but rest of page,which I print manually, is wrong. Can you please help me to figure it out?
Thanks for advice.
No comments:
Post a Comment