note 124155 added to function.scandir

From: Date: Fri, 30 Aug 2019 12:36:42 +0000
Subject: note 124155 added to function.scandir
Groups: php.notes 
Request: Send a blank email to php-notes+get-212035@lists.php.net to get a copy of this message
Is there a way to read all the files in a directory with umlaut characters using PHP? For example, in our Directory, we have a file named "Köln.pdf". When we use scandir method, it returns 'K"ln.pdf'. Is there a way to retrieve the file names with those character? We are using PHP7.2 in Azure App Service. Thanks, Praveen ---- Server IP: 208.43.231.9 Probable Submitter: 185.85.3.195 (proxied: 123.242.242.16) ---- Manual Page -- http://php.net/manual/en/function.scandir.php Edit -- https://master.php.net/note/edit/124155 Del: integrated -- https://master.php.net/note/delete/124155/integrated Del: useless -- https://master.php.net/note/delete/124155/useless Del: bad code -- https://master.php.net/note/delete/124155/bad+code Del: spam -- https://master.php.net/note/delete/124155/spam Del: non-english -- https://master.php.net/note/delete/124155/non-english Del: in docs -- https://master.php.net/note/delete/124155/in+docs Del: other reasons-- https://master.php.net/note/delete/124155 Reject -- https://master.php.net/note/reject/124155 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#212035) next »