F
FE-FR
Hi,
I am currently experiencing a problem reading an XML file wich containts
unicode data, in fact words from foreign language (hebrew, arabic, asian,
....)
The code I am using is very basic :
xmlfile="c:\test.xml"
Set xmlDoc = CreateObject("Msxml2.DOMDocument.4.0")
If xmlDoc.Load(xmlfile) Then
Set Tim = xmlDoc.getElementsByTagName(infos)
TheWord = Tim.Item(0).Text
The header of my XML just containts :
<?xml version='1.0'?>
and the data is (example in hebrew) :
<information>?????</information>
<justForTest>mytext</justForTest>
With this code, if I request 'information', I get ???? in my 'TheWord' var.
If I request 'justfortest', it works fine.
I just wonder why I get this problem and if someone can give me some advice.
Thanks
FE
I am currently experiencing a problem reading an XML file wich containts
unicode data, in fact words from foreign language (hebrew, arabic, asian,
....)
The code I am using is very basic :
xmlfile="c:\test.xml"
Set xmlDoc = CreateObject("Msxml2.DOMDocument.4.0")
If xmlDoc.Load(xmlfile) Then
Set Tim = xmlDoc.getElementsByTagName(infos)
TheWord = Tim.Item(0).Text
The header of my XML just containts :
<?xml version='1.0'?>
and the data is (example in hebrew) :
<information>?????</information>
<justForTest>mytext</justForTest>
With this code, if I request 'information', I get ???? in my 'TheWord' var.
If I request 'justfortest', it works fine.
I just wonder why I get this problem and if someone can give me some advice.
Thanks
FE