theoretically that's utf8. did you try to do a conversion on the data returned by the xml external?
return unidecode(uniencode(theText,"utf8")) On 14 Feb 2010, at 15:56, Jeffrey Massung wrote: > So, after days of trying to figure what my unicode bugs were, I've finally > figured out the problem: revXML (which I'm assuming is using Expat or similar > library) is attempting to translate encoded characters during tree parsing as > opposed to letting the application handle it later on. > > For example: > > <?xml version="1.0"?> > <test>This is Џ a test</test> > > The above tree - upon being parsed - will convert Џ into 2 bytes > instead of leaving it encoded. The result is a blob of text that's composed > of both single-byte characters and double-byte characters. This is no good. > > So, is there a way to get the XML parser in Rev to not touch the data in the > tags and let me do it? Or better yet, how about making revXML adhere to the > useUnicode global, so either all the returned data is single-byte or it's all > double-byte? > > Jeff M. -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" _______________________________________________ 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
