[wp-trac] Re: [WordPress Trac] #9417: Character encoding in
swfupload misinterpreted as ISO-8859-1
WordPress Trac
wp-trac at lists.automattic.com
Sat May 16 00:12:32 GMT 2009
#9417: Character encoding in swfupload misinterpreted as ISO-8859-1
----------------------------+-----------------------------------------------
Reporter: kallewangstedt | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Upload | Version: 2.7.1
Severity: major | Keywords: has-patch reporter-feedback needs-testing
----------------------------+-----------------------------------------------
Comment(by hakre):
iptcparse() is used to gather iptc data. it is assumed that the iptc data
is ISO-8859-1 encoded and is converted to utf8 by utf8_encode() then.
this is not a swfupload issue. this is a encoding issue based on the
handling within wordpress.
so the question is: how is the iptc encoding done? is it marked? at least
a test for having utf8 data in there seems reasonable to me. if it is
already valid utf8 then good to go. if not, the latin-1 can be assumed and
encoded into utf8 (as it is done now).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9417#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list