I have an XML file for which I want to determine the encoding programmatically. The XML file is present on the device and the dataFilePath contains the path. The encoding declar