{"id":170,"date":"2008-06-09T03:30:04","date_gmt":"2008-06-08T19:30:04","guid":{"rendered":"http:\/\/lesterchan.net\/wordpress\/?p=170"},"modified":"2008-06-09T03:30:42","modified_gmt":"2008-06-08T19:30:42","slug":"warning-cannot-yet-handle-mbcs-in-html_entity_decode","status":"publish","type":"post","link":"https:\/\/lesterchan.net\/wordpress\/2008\/06\/09\/warning-cannot-yet-handle-mbcs-in-html_entity_decode\/","title":{"rendered":"Warning: cannot yet handle MBCS in html_entity_decode"},"content":{"rendered":"<p>If you are using PHP 4 and using some of my plugins, the error message &#8220;Warning: cannot yet handle MBCS in html_entity_decode&#8221; will get displayed on your page. This is not a bug in my plugin but a bug in <a href=\"http:\/\/bugs.php.net\/bug.php?id=25670\">PHP 4<\/a> itself.<\/p>\n<p>My recommendation would definitely be asking you to upgrade to PHP 5. PHP group has announced the end of life for PHP 4 on the 13th July 2007.<\/p>\n<blockquote><p>\nToday it is exactly three years ago since PHP 5 has been released. In those three years it has seen many improvements over PHP 4. PHP 5 is fast, stable &#038; production-ready and as PHP 6 is on the way, PHP 4 will be discontinued.<\/p>\n<p>The PHP development team hereby announces that support for PHP 4 will continue until the end of this year only. After 2007-12-31 there will be no more releases of PHP 4.4. We will continue to make critical security fixes available on a case-by-case basis until 2008-08-08. Please use the rest of this year to make your application suitable to run on PHP 5.\n<\/p><\/blockquote>\n<p>As you can see, there would not be any more PHP 4 updates and security fixes will be available till 8th August 2008 which is only 2 more months. If you want to upgrade to PHP 5, this is the best time to do it.<\/p>\n<p>If for some reasons you are not able to upgrade to PHP 5, the only thing you can do is to turn off error message display. You can refer to <a href=\"http:\/\/forums.lesterchan.net\/index.php\/topic,1945.0.html\">this thread<\/a> for more information. This is definitely not an elegant solution.<\/p>\n<p>If you host supports PHP 5 but you are on PHP 4, you can take a look at the <a href=\"http:\/\/orangescale.net\/log\/2008\/06\/cannot-yet-handle-mbcs-in-html_entity_decode-error-on-wp-downloadmanager\/\">solution posted by Thomas Arie Setiawan<\/a>.<\/p>\n<p>Softwares like <a href=\"http:\/\/www.mediawiki.org\/wiki\/MediaWiki\">MediaWiki<\/a> which powered <a href=\"http:\/\/www.wikipedia.org\/\">Wikipedia<\/a> requires your server to be running PHP 5, and <a href=\"http:\/\/www.vbulletin.com\">vBulletin<\/a> has beginning asking customers to upgrade to PHP 5. It would be a matter of time before WordPress requires a minimum of PHP 5 to be running.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are using PHP 4 and using some of my plugins, the error message &#8220;Warning: cannot yet handle MBCS in html_entity_decode&#8221; will get displayed on your page. This is not a bug in my plugin but a bug in PHP 4 itself. My recommendation would definitely be asking you to upgrade to PHP 5. &hellip; <a href=\"https:\/\/lesterchan.net\/wordpress\/2008\/06\/09\/warning-cannot-yet-handle-mbcs-in-html_entity_decode\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Warning: cannot yet handle MBCS in html_entity_decode&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[79,76,77,78],"class_list":["post-170","post","type-post","status-publish","format-standard","hentry","category-plugins","tag-html_entity_decode","tag-mbcs","tag-php4","tag-php5"],"views":37539,"_links":{"self":[{"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/posts\/170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/comments?post=170"}],"version-history":[{"count":0,"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/posts\/170\/revisions"}],"wp:attachment":[{"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/media?parent=170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/categories?post=170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/tags?post=170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}