Fix for ISO8859-1 if type contains some special character (like €)