XML : Read XML in UTF-8 VB6

I have this XML with ▲ character in UTF-8.

However, when I read this XML, this character is displayed as "?" I have no idea how to change it, any help would be appreciated.

Here is so far what I did:

XML:

  <?xml version="1.0" encoding="UTF-8" ?>     <rss version="2.0">          <reg>             <myitem>  ▲ |  ▼</myitem>          </reg>     </rss>    

Reading this XML:

  Set oXml = CreateObject("Microsoft.XMLDOM")  oXml.async = False  oXml.Load http://localhost:8080/project/myxml.jsp  Set myTag = oXml.getElementsByTagName("reg")    

then retrieving a this tag:

  myTag.item(1).getElementsByTagName("myitem").item(0).Text    

and my result is ? | ?

any idea how to get this to work? Thanks!

No comments:

Post a Comment