How do I access the encoding for an xml-file using TBXML?
To clarify: I would like to acsess the top row in an xml-file and there get the value of encoding by using TBXML.
?xml version="1.0" encoding="utf-8"?
You can't, it's not part of the xml document.
Why do you want to know the encoding?