ID: 47096
Comment by: mm107137 at spamcorptastic 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:
I have the same problem under debian host (ovh hoster).
Filename with french accents passed to move_upload_file are destroyed.
There's no problems if filename is not passed as utf8.
Very annoying
Previous Comments:
------------------------------------------------------------------------
[2009-02-06 20:21:49] mindfreakthemon at gmail dot com
And on Windows 7 and Vista under Apache 2.2 that bug exists too.
------------------------------------------------------------------------
[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