PDA

View Full Version : File names in a unicode world



harsh
01-02-2017, 03:27
I'm seeing more and more instances of filenames that include unicode characters -- even among usenet binaries. Often these characters are open and close quotes (double and single). I'm guessing that these come from the Mac environment.:D

While DIR_List (and I suppose DIR_ListArray) fetch an ASCII version of the file names (with "?" substitution), opening the file or determining its size depend on the correct name. Is there some way to get a file handle so I can access the files?

My program currently uses FILE_Load, but that only works if I have a proper file name. To add insult to injury FILE_Size requires a proper file name, and FILE_GET requires the file size to approximate the FILE_Load function.