How do you add an XML declaration - < ?xml version="1.0" encoding="UTF-8"? > - to a Flex XML object? The same thing you could do with the old XML - new XMLDocument class and the xmlDecl property.
Seems that new XML class always ignores this processing instruction.
If it's true then you need to add <?xml version="1.0" encoding="UTF-8"?> string manually when it is outputted to a file or sent to the server.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more