Apache AddDefaultCharset utf-8 - filename not saving in utf-8 Using file field to upload image which has utf-8 filename, but when it is uploaded to site filename is not saving in utf-8 format.But original name is saved as link in database making it not found when accessed.

AddDefaultCharset utf-8 is added to httpd.conf and server restarted before testing.

original filename - noëlle_châtelet.jpg(same is saved in database)
saved filename -noÃ«lle_chÃ¢telet.jpg
According detailed explanation at https://bugs.php.net/bug.php?id=47096 temporary solution would be, explicitly converting filename encoding using iconv().Now it raising new warning message(shall I have to open another issue thread for this?)

Warning: filesize() [function.filesize]: stat failed for public://noëlle_châtelet12.jpg in file_save() (line 566 of C:\server\www\drup_dlist_mys\includes\file.inc)


temporary solution until it is fixed in php move_uploaded_file() function.
In file.inc I added the line in drupal_move_uploaded_file function block

+$uri= iconv("UTF-8","ISO-8859-1//TRANSLIT", $uri);
$result = @move_uploaded_file($filename, $uri);
// PHP's move_uploaded_file() does not properly support streams if safe_mode
// or open_basedir are enabled so if the move failed, try finding a real path
// and retry the move operation.
.
.


This is only happening in WAMP and working fine in linux. I don't know how this new iconv statement will affect in unix/linux environment.Can it be possible to check whether the current locale supports for utf-8 just before iconv() statement?.