Jump to content

html_entity_decode( $orig , ENT_NOQUOTES, "KOI8-R" ) not working


ms.buggy

Recommended Posts

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.