added functions to convert between ISO-8859-1 and UTF-8