[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 10 11:51:02 UTC 2011


#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):

 The file with a Cyrillic name is now appears in the uploads folder,
 however !WordPress is unable to show a proper link for it (e.g. on Edit
 Media screen). I guess it still expects the name to be in UTF-8, at least
 in the database.

 BTW, I'm not sure if it's always CP1251. There are different codepages on
 different systems. For Norway (as in the comment above) it's CP1252. See
 http://en.wikipedia.org/wiki/Windows_code_page.

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


More information about the wp-trac mailing list