ms.buggy Posted December 10, 2010 Share Posted December 10, 2010 How I should convert hmlt-entitys to koi8-r characters? According to manual, I think this is correct: $decoded = html_entity_decode( $orig , ENT_NOQUOTES, "KOI8-R" ); If I try to write data into excel, there stands "decode cannot yet handle MBCS!" -error. And according to phpinfo() server has php5 installed. If I set charset to UFT-8, it works without errors, but ofcource right characters cannot be found.. And when I'll try to write a csv, prosessing stops on this line. So what have I done wrong? Have I used html_entity_decode -sentence right? Any help apprichiated! Link to comment https://forums.phpfreaks.com/topic/221195-html_entity_decode-orig-ent_noquotes-koi8-r-not-working/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.