[wp-trac] [WordPress Trac] #9616: Trunk throws warnings on php4 sites

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 21 18:18:53 GMT 2009


#9616: Trunk throws warnings on php4 sites
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  anonymous
     Type:  defect (bug)       |      Status:  new      
 Priority:  high               |   Milestone:  2.8      
Component:  General            |     Version:  2.8      
 Severity:  blocker            |    Keywords:           
-------------------------------+--------------------------------------------
 On my customer's site, it was due to the RSS widgets grabbing eBay feeds.
 But there are other calls to html_entity_decode() around.

 Symptom:

 Trying to decode HTML entities into UTF-8 results in the following error
 message:

 Warning: cannot yet handle MBCS in html_entity_decode()!

 The line is repeated about 200 times, then html_entity_decode just uses
 ISO-8859-1 charset.

 The related php bugs:

  - http://bugs.php.net/bug.php?id=25670
  - http://bugs.php.net/bug.php?id=27626

 Also occurs in BB:

 http://bbpress.org/forums/topic/warning-cannot-yet-handle-mbcs-in-
 html_entity_decode

 Based on this thread, there is a potential fix:

  - http://pkp.sfu.ca/support/forum/viewtopic.php?f=3&t=2081
  - http://pkp.sfu.ca/ocs_download (it's GPL)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9616>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list