[wp-trac] [WordPress Trac] #20408: wp_read_image_metadata wrongly assumes IPTC metadata is Latin1

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 10 11:12:58 UTC 2012


#20408: wp_read_image_metadata wrongly assumes IPTC metadata is Latin1
--------------------------+------------------------------
 Reporter:  koke          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Duplicate of #9417?

 Seems that `$iptc['1#090']` marker may not always be present. [http
 ://unit-tests.trac.wordpress.org/browser/wp-testdata/images/test-image-
 iptc.jpg test-image-iptc.jpg] (with IPTC tags written by IrfanView 4.33)
 doesn't have it. In that case, `seems_utf8()` check looks more reliable.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20408#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list