Re: iOS and xml: I don't understand unicode...

2011-12-22 Thread Chris Sheffield
Mark, Yes! That works. Thank you so much! Chris On Dec 22, 2011, at 12:13 PM, Mark Schonewille wrote: > Hi Chris, > > Read the file as binary, e.g. into variable myVar and then convert it with > > put uniDecode(uniEncode(myVar,"UTF8")) into myVar > > Now you can load the XML tree that's in

Re: iOS and xml: I don't understand unicode...

2011-12-22 Thread Mark Schonewille
Hi Chris, Read the file as binary, e.g. into variable myVar and then convert it with put uniDecode(uniEncode(myVar,"UTF8")) into myVar Now you can load the XML tree that's in myVar or parse it as standard ASCII text. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software En

iOS and xml: I don't understand unicode...

2011-12-22 Thread Chris Sheffield
I need help. In more ways than one, but that's beside the point... I have a utf-8 encoded xml file that I'm reading data from for display in a text field. Everything seems to work just fine except for certain unicode characters, such as the em dash ("—"). When I read in the text and then set the