🐛 Detect encoding (incl BOM) when reading files
As @imlabormitlea-code reported in gh-79, dinglehopper did not handle text files with BOM well. Fix this by using chardet to detect an encoding, which also detects the BOM and use the proper encoding to read the files, not including the BOM in the resulting extracted text. Fixes gh-80.pull/90/head
parent
325e5af5f5
commit
69325facf2
Loading…
Reference in New Issue