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

WordPress Trac noreply at wordpress.org
Mon Jul 9 19:14:56 UTC 2018


#15955: move_uploaded_file mangles non-ascii characters on Windows platforms
--------------------------+------------------------------
 Reporter:  t31os_        |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Upload        |     Version:  2.0
 Severity:  major         |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------

Comment (by miyauchi):

 Hi,

 A plugin WP Multibyte Patch that is shipped with Japanese package converts
 the filename in Japanese with the `md5()`.

 https://ja.wordpress.org/plugins/wp-multibyte-patch/

 Actually, the Japanese version of the Windows is using SJIS charset.
 If we download files which has UTF-8 non-ascii chars filename into
 Windows, the filename will be broken.

 Any chance to send a patch based on WP Multibyte Patch?
 The original filename will be displayed fine on wp-admin.

 I'm working on removing this plugin from Japanese package, so this ticket
 is very important for Japanese users too.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/15955#comment:56>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list