This article means to be more a personal note that a post dedicated to one of the arguments dealt habitually on tuxmind. Yesterday I have dawned wordpress from localized in Italian and widened version 2,5 to the 2.6.1 in the functionalities from the addition of some plugin, prelevabile to this address. Well after the process of modernization and the resolution of some banal incovenienti that habitually take place in situations of this type me are imbattuto in a somewhat annoying problem, above all in reason of its implications, we say thus, of service. Creed all know that the version current of php is number 5 and, like such, come used from the majority of the hosts. Mine, instead, the Aruba usual, still uses version 4 that creates problems with some plugin. In the fattispecie, for how much it regards to me, the disadvantage is happened with WP-Postviews, plugin that it allows the visualization of the post more read, which on php4 generates an error of the type: “How to work around the Warning: cannot yet handle MBCS in html_entity_decode ()”.
Girovagando a little I have found a likeable one hack that it allows to bypassare the problem without to resort to php5 (also because it would have to ask to Aruba):
- to open the rows wp-postviews.php;
- to find the line $text = html_entity_decode ($text, ENT_QUOTES, get_option ('blog_charset')); and to replace it with $text = utf8_decode ($text);
Now all it works perfectly.