fix iso-8859-1 & utf8 issue