note 101068 deleted from function.opendir by thiago

From: Date: Wed, 24 Nov 2010 11:58:20 +0000
Subject: note 101068 deleted from function.opendir by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-174315@lists.php.net to get a copy of this message
Note Submitter: David ---- How can I open an UTF8 directory, this is not working: $dir = 'M:\\test\\1999 影技\\'; $dh = opendir($dir); ---- $dh returns FALSE of course I tried various conversion functions like: $dir = mb_convert_encoding($dir, "iso-8859-1", "UTF-8"); or $dir = iconv( "utf-8", "iso-8859-1", $dir); anyway, nothing work :( thanks for your help, david

« previous php.notes (#174315) next »