assume encoding is iso-8859-1 by default