[wp-trac] Re: [WordPress Trac] #4330: Make MagpieRSS use UTF-8 as
default encoding
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 19 21:23:44 GMT 2009
#4330: Make MagpieRSS use UTF-8 as default encoding
--------------------------+-------------------------------------------------
Reporter: nbachiyski | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-------------------------------------------------
Comment (by Denis-de-Bernardy):
http://us.php.net/manual/en/function.xml-parser-create.php
"The optional encoding specifies the character encoding for the
input/output in PHP 4. Starting from PHP 5, the input encoding is
automatically detected, so that the encoding parameter specifies only the
output encoding. In PHP 4, the default output encoding is the same as the
input charset. If empty string is passed, the parser attempts to identify
which encoding the document is encoded in by looking at the heading 3 or 4
bytes. In PHP 5.0.0 and 5.0.1, the default output charset is ISO-8859-1,
while in PHP 5.0.2 and upper is UTF-8. The supported encodings are
ISO-8859-1, UTF-8 and US-ASCII."
Imo, UTF-8 is the better default.
--
Ticket URL: <http://trac.wordpress.org/ticket/4330#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list