Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with International Characters

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I’m converting an XML document to MS Excel, through VBA. Fine. Everything runs smooth except for one little glitch, and I’m at my wit’s end with it. I’m losing my international characters (like eacute, for example). Here’s how I’m bringing the text to cells:

MyRange.Value = iNode.selectSingleNode("text()").Text

If, for example, the text value of the node would be “matériel”, all I would get is “mat”. The whole rest of the string gets truncated.

I’m going insane, please help
 
Your document encoding is incorrect. You need to use a more useable standard.

change the encoding type of the XML document by using <?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?> at the start of your xml document.

If UTF-8 doesnt work , try other standards such as ISO.


Hope that helps,

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top