[wp-trac] [WordPress Trac] #62354: fetch_feed should use `get_bloginfo( 'charset' )` over `get_option( 'blog_charset' )` when setting the output encoding
WordPress Trac
noreply at wordpress.org
Sun Nov 10 23:24:47 UTC 2024
#62354: fetch_feed should use `get_bloginfo( 'charset' )` over `get_option(
'blog_charset' )` when setting the output encoding
--------------------------+---------------------
Reporter: david.binda | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.7
Component: Feeds | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+---------------------
Comment (by peterwilsoncc):
I think the switch to `get_bloginfo()` makes sense, and I don't have any
objection to doing so for 6.7.
I'd like to include some tests to reproduce the problem on trunk but
haven't been able to do so. I've included my first pass in
[attachment:"fetchFeed.php"] but they are passing as the empty character
set is eventually converted to `UTF-8`. If someone could provide a pointer
towards what I am missing, it would be very much appreciated.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62354#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list