#47096 [Com]: move_uploaded_file not OS encoding aware

From: Date: Fri, 06 Feb 2009 20:21:49 +0000
Subject: #47096 [Com]: move_uploaded_file not OS encoding aware
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-133583@lists.php.net to get a copy of this message
 ID:               47096
 Comment by:       mindfreakthemon at gmail dot com
 Reported By:      nuabaranda at web dot de
 Status:           Open
 Bug Type:         Filesystem function related
 Operating System: win32 only - Windows XP
 PHP Version:      5.2.8
 New Comment:

And on Windows 7 and Vista under Apache 2.2 that bug exists too.


Previous Comments:
------------------------------------------------------------------------

[2009-01-14 09:26:41] nuabaranda at web dot de

Description:
------------
Files with filenames containing non-ascii characters like german
umlauts get destroyed when saved with move_uploaded_file(). The UTF-8
special characters get translated byte-wise into CP1251 characters when
determining the Windows filenames thus destroying the original special
characters.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47096&edit=1



Thread (11 messages)

« previous php.bugs (#133583) next »