[wp-trac] [WordPress Trac] #21217: Encoding problems with uploading media files

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 11 13:32:18 UTC 2012


#21217: Encoding problems with uploading media files
--------------------------+-----------------------------
 Reporter:  pavelevap     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.4.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Testing media filename: "Žluťoučký kůň.png"

 1) WP 3.4.1 (standard Linux webhosting, using Chrome):

 - File successfully uploaded as "Žluťoučký-kůň.png" (space replaced).
 - But filename is displayed as "luťoučký-kůň.png".
 - URL is http://domain/wp-content/uploads/2012/07/Žluťoučký-kůň.png (and
 file is also accessible on this URL without problem).

 So, why is filename displayed without first character?

 2) WP 3.4.1 (xampp, Windows computer, Chrome):

 - File uploaded as "Žluťoučký-kůň.png" (space replaced).
 - Filename is displayed as "Žluťoučký-kůň.png".
 - URL is http://localhost/wp-content/uploads/Žluťoučký-kůň.png
 - But file is not visible and in uploads directory can be seen as
 "Ĺ˝luĹĄouÄŤkĂ˝-kĹŻĹˆ.png".

 In this case I can see this media file only encoded by Javascript (image
 editing tool), for example on URL http://localhost/wp-admin/admin-
 ajax.php?action=imgedit-
 preview&_ajax_nonce=8f7fa9ba05&postid=21249&rand=49045

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21217>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list