Page 1 of 1

Problem with import xml

Posted: Thu Dec 12, 2013 4:19 pm
by Neurox66
Hi,
I've read few emails with similar problems to mine, but I could not find a solution.
My problem is:
Import a xml file with revCreateXMLTree.
Inside the xml file there is a string : "<TITLE><![CDATA[«John Doe fined €10,000 for failing to properly inform the Istitute»]]></TITLE>"

It's all ok but the output in the field is " ¬´John Doe fined €10,000 for failing to properly inform the the Istitute¬ª "
I've tested with uniencode and unidecode but without result.
I'm crazy out :(

Any hints?

Thanks,
Paolo

Re: Problem with import xml

Posted: Thu Dec 12, 2013 4:41 pm
by Klaus
Hi Paolo,

hmm:
...
put isotomac("» ")
...
Give me -> »
But won't help either, I'm afraid :(

Is there any declaration of the used charset in the XML header?


Best

Klaus

Re: Problem with import xml

Posted: Thu Dec 12, 2013 4:53 pm
by Neurox66
Unfortunately, there is no declaration of the used charset,
but I think that is in unicode.

Paolo

Re: Problem with import xml

Posted: Thu Dec 12, 2013 5:04 pm
by Neurox66
Thank Klaus for the hints,
I've tested with :

put isoToMac(uniencode("» ", "UTF8")) into tTest

and running ok!

I'm happy :)

Paolo

Re: Problem with import xml

Posted: Thu Dec 12, 2013 5:07 pm
by Klaus
GREEEEEEEEEEAT! :D