16 Jun
2017
16 Jun
'17
9:42 a.m.
And you can safely concatenate two different strings and valid file will be created. Even if dir is in ISO 8859-1 and file in UTF-8. The file will be valid even if not representable in any encoding.
but it seems to me that in this case, what I need is UTF-8->ISO 8859-1 conversion of the file name before concatenation with the directory. Otherwise, OK I will get a file because the system just ask for narrow string but its name will be wrong in the OS user interface. Frédéric