David,

hi there, you can use HTML Entities for the unicode char, which is safe, or you can use the unicode encoding/decoding functions to code your data correctly before inserting into XML. (I am quoting from memory here, but I think you need to unidecode the data...)

I just checked the docs, if you're answering an email you'd better be sure I say:

revPutIntoXMLNode the docId of field "xmltree",selectedNode, \
     uniDecode(the unicodeText of field "Contents","UTF8")

so, yes, you need to uniDecode the thing.

Cheers, good luck
andre


On Sep 25, 2005, at 7:09 PM, david bovill wrote:

Still up :)

I have been storing data in XML - using RunRev's library...

Now if i add a node with the contents being "Dark Müller", and then i get the node contents back with:

    put revXMLNodeContents(treeID, someNode) into someText

And put this into a field - I get:

    "Dark MŸller"

Which is not quite what I want? Now from memory XML defaults to UTF8 encoding, and this sure looks like an encoding thing... so what do i need to do to get "Dark Müller" back? _______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to