Function safe_glob
Provide an alternative to glob which does not return filenames with accented charactes in them
NOTE: this function ignores "hidden" files whose name starts with a period!
string |
$pattern |
the 'pattern' for matching files |
bit |
$flags = 0 |
glob 'flags' |