XML and Unicode?

ron barber rbarber at yhb.att.ne.jp
Mon May 16 09:39:40 EDT 2005


Hi Curtis,
I don't use XML but what happens when you set the textfont to 
"Russian,unicode" rather than Lucida Grande?

Ron

On May 11, 2005, at 3:47 AM, Curtis Ford wrote:

> I've been studying the XML demo kindly provided by Sarah Reichelt - a 
> big thanks to Sarah, it's a great resource! A few newbie-ish 
> questions:
>
> Can Unicode be used with the XML commands? I've had success reading in 
> my own XML external text files with the demo, but using UTF 16 
> encoding seems troublesome.
>
> I've set the font of the field "XMLText" to Lucida Grande, and in the 
> script for the "Read from file" button I tried replacing
>
> put tChild after fld "XMLtext"
>   with
> set the UnicodeText of fld "XMLtext" to tChild
>
> .. but what should have been Russian displayed as Chinese with no line 
> breaks.
>
> Is there something else I'd need to do when reading the data in, or am 
> I missing something else? Thanks for any suggestions!
>
> -Curt
>
> Dr. Curtis Ford
> Instructor of Russian and Linguistics
> Dept. of Languages, Literatures, and Cultures
> University of South Carolina
> cford at sc.edu
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list