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

WordPress Trac noreply at wordpress.org
Sat Dec 15 16:07:25 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:                |
--------------------------+------------------------------

Comment (by Perepandel):

 Hi all,

 I was testing the patch proposed by SergeyBiryukov but didn't work for me.
 I made some debugging and searched a bit here and there and found that
 maybe it's related to my PHP version. I use 5.4.8 in Win7 x64 and in
 http://stackoverflow.com/questions/13788415/how-to-retrieve-the-current-
 windows-codepage-in-php someone says it was working in PHP < 5.2.

 So I made the proper modifications and now it's working fine for me. I'm
 attaching the modified file.

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


More information about the wp-trac mailing list