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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.