in reply to UTF-8 and readdir, etc.
The subthread starting at Re^5: any use of 'use locale'? (source encoding) has some more information about Unicode, filesystems, and APIs that might be helpful.
Alexander