[wp-trac] [WordPress Trac] #11219: SimplePie fails when trying to convert UTF-8 to UTF-8
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 10 18:42:31 UTC 2009
#11219: SimplePie fails when trying to convert UTF-8 to UTF-8
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Administration | Version: 2.9
Severity: normal | Keywords: has-patch tested blocker
-------------------------------+--------------------------------------------
Comment(by link92):
The point of change_encoding in that case is to return a string that is
guaranteed to be valid under that encoding. In the UTF-8 case, something
like "\xff" is invalid, and should go through change_encoding and come out
as whatever the UTF-8 encoding of U+FFFD is. This is needed for web compat
with feeds. If there are bugs in the impl is change_encoding, they should
be fixed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11219#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list