Availability:C-language interface function
bool PL_get_file_nameW(term_t 
spec, wchar_t **name, int flags)Same as PL_get_file_name(), 
but returns the filename as a wide-character string. This is intended 
for Windows to access the Unicode version of the Win32 API. Note that 
the flag PL_FILE_OSPATH must be provided to fetch a 
filename in OS native (e.g., C:\x\y) notation.