Convert utf8-characters to iso-88591 and back in PHP
Have a look at iconv() or mb_convert_encoding(). Just by the way: why don’t utf8_encode() and utf8_decode() work for you? utf8_decode — Converts a string with ISO-8859-1 characters encoded with UTF-8 to single-byte ISO-8859-1 utf8_encode — Encodes an ISO-8859-1 string to UTF-8 So essentially $utf8 = ‘ÄÖÜ’; // file must be UTF-8 encoded $iso88591_1 = utf8_decode($utf8); … Read more