[wp-trac] [WordPress Trac] #15955: move_uploaded_file mangles non-ascii characters on Windows platforms

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 16 13:33:54 UTC 2012


#15955: move_uploaded_file mangles non-ascii characters on Windows platforms
-------------------------------------+------------------------------
 Reporter:  t31os_                   |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Upload                   |     Version:  3.0.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 Closed #19842 as a duplicate.

 Replying to [comment:14 willmot]:
 > Can we not just call remove_accents in sanitize_file_name and be done
 with it?

 No, since `remove_accents()` doesn't affect Cyrillic, Arabic, Chinese
 characters, etc.

 [attachment:allow-utf8-filenames-on-windows.php] still seems to be
 working. Would like to turn it into a patch.

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


More information about the wp-trac mailing list