Encoding has to be specified before any other line of code