XML Tree not returning cyrillic characters
Posted: Sun Dec 20, 2020 7:01 am
When I create a tree from an XML file (revXMLCreateTree) and parse the data to retrieve an attribute, it doesn't return the cyrillic characters. It does however return the french characters (é). I thought it might be a "textDecode" issue but the XMLData in the field is already UTF-8 textDecoded...
Here's the code in the button:
thanks for any insight,
Richard
(using Livecode Indy 9.6.1 on Mac)
Here's a simple stack to illustrate.
Here's the code in the button:
Code: Select all
on mouseUp pButtonNumber
put empty into field "XMLDecoded"
put revXMLCreateTree(field "XMLData", false,true,false) into tTree
put revXMLAttributeValues(tTree,"xml/group/",person,"title",return,1) into field "XMLDecoded"
end mouseUp
thanks for any insight,
Richard
(using Livecode Indy 9.6.1 on Mac)
Here's a simple stack to illustrate.