![]() So essentially $utf8 = 'ÄÖÜ' // file must be UTF-8 encoded ![]() Utf8_encode - Encodes an ISO-8859-1 string to UTF-8 Utf8_decode - Converts a string with ISO-8859-1 characters encoded with UTF-8 to single-byte ISO-8859-1 Just by the way: why don't utf8_encode() and utf8_decode() work for you? Have a look at iconv() or mb_convert_encoding(). I converted the my file using this PHP function mb_convert_encoding($file, 'UTF-8', 'ISO-8859-1') Stack Overflow provided some help to convert UTF8 characters to ISO-8859-1 Latin1 and back in PHP How I converted ISO-8859-1 Latin1 to UTF8
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |