fixed ISO-8859-1 bug