[wp-trac] Re: [WordPress Trac] #7563: html_entity_decode at RSS Feed import doesn't respect charset of Blog

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 8 19:24:19 GMT 2009


#7563: html_entity_decode at RSS Feed import doesn't respect charset of Blog
----------------------------------------------------+-----------------------
 Reporter:  codestyling                             |        Owner:       
     Type:  defect (bug)                            |       Status:  new  
 Priority:  high                                    |    Milestone:  2.7.1
Component:  Feeds                                   |      Version:  2.5.1
 Severity:  critical                                |   Resolution:       
 Keywords:  rss bug feed encoding damage has-patch  |  
----------------------------------------------------+-----------------------
Comment (by hakre):

 Please do not place an "@" in front of the function, because:

 a) this is php4, php4 is not supported any longer. if you use php4 you
 have to live with it.
 b) this makes wordpress harder to debug.
 c) this increases execution time.
 d) this is bad practise and signals a location in the code that needs
 fixing.

 thanks for your cooperation.

 and additional thought I had is: RSS is XML that is UTF-8 Encoded. Why are
 certain characters placed in entities instead of their correct UTF-8
 Encoding? Isn't this the root of evil?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7563#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list