I don't think it supports Unicode, since it hasn't been compiled with wide char's as the default. However, but I haven't done any testing, I suppose it supports file names in the default codepage of the MS-Windows OS that is installed on the computer you use. For example, on European, non-English, systems, it should be able to support file names with Latin1 characters, such as è and ë.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
Does file function (magic_file) support file name in Unicode?
Thanks in advance,
Sela
I don't think it supports Unicode, since it hasn't been compiled with wide char's as the default. However, but I haven't done any testing, I suppose it supports file names in the default codepage of the MS-Windows OS that is installed on the computer you use. For example, on European, non-English, systems, it should be able to support file names with Latin1 characters, such as è and ë.
Thanks, I have found a workaround: you can use magic_buffer instead of magic_file and take care of Unicode file names yourself.