Re: XML and Unicode

2013-06-13 Thread Dar Scott
You can often find the encoding of an XML file in the XML declaration. Look for the encoding attribute: Or, since you say "specific", assume what you think is right. Converting to your native encoding is lossy. You might lose characters. You can check that by converting back and seeing if

Re: XML and Unicode

2013-06-13 Thread Pascal Lehner
Thanks, that works perfectly :-) I did not try using decode and encode at the same time.. Pascal On 13 June 2013 15:08, Mark Schonewille wrote: > Hi Pascal, > > Read the data as binary and convert it. > > put url "binfile:folder/file.xml" into myData > put uniDecode(uniEncode(myData,"UTF8"))

Re: XML and Unicode

2013-06-13 Thread Mark Schonewille
Hi Pascal, Read the data as binary and convert it. put url "binfile:folder/file.xml" into myData put uniDecode(uniEncode(myData,"UTF8")) into myData -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.