I just opened my wheelie bin and a wasp flew out. What kind of sick person would throw a wasp in a bin? 1 day ago


Dec 09
11th

Plugin error “cannot yet handle MBCS in html_entity_decode”


Today I’ve had reported to me that one of my plugins (Simple Twitter Link – but I’m sure this equally occur in others) is generating the error “cannot yet handle MBCS in html_entity_decode”. In fact, it generates it about 200 times.

The problem? Well, it’s a bug in version 4 of PHP, so there’s not much I can do about it (sorry!). It’s fixed in PHP 5, though.

One suggested solution is to force your server to use PHP 5 – many have version 5 installed, but just not set as the default. To do this simply put AddType application/x-httpd-php5 .php in the first line of your .htaccess file.

I use html_entity_decode for the post title. At the moment I do this whether you ask for the title or not – I’ll make a change for the future to ONLY do this if requested. That way you can omit the title to prevent this error from occurring. This will definitely also affect Simple Social Bookmarks and Simple Facebook Link.


Share this on del.icio.us Digg this! Email this Share this on Facebook Share this on LinkedIn Send this page to Print Friendly Share this on Reddit Share it on StumbleUpon Tweet This!

No Comments

There are no comments at present.

No Pingbacks/Trackbacks

There are no pingbacks/trackbacks at present.

No Tweetbacks

There are no tweetbacks at present.

Leave a Comment

All comments are authorised before appearing - you should receive an email once this has been done.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

55 queries in 0.881 seconds.