none
encodinge: How can I read the first line on an XML file RRS feed

  • Question

  • I load multiple XML files from folder, and het the problem that the files have more than one encoding, "utf-8" and "ISO-8859-1".
    So I need to read the first line of the files, determine if it's "utf-8" or "ISO-8859-1" and then I need a function that then provides the right encoding. Who can help me?  
    Wednesday, May 31, 2017 2:45 PM

Answers