always assume utf-8 as chardet is making some errors. TODO make chardet a command line option