Change default encoding to ISO-88859-1 for function