in reply to UTF-8 and readdir, etc.
Hello jrw005,
Welcome to the Monastery. I think you are looking for utf8 in directory and filenames. Read also dir/filenames and utf8 and also directories and charsets.
Hope this helps, BR.