std.file and non-English filename in Windows
John Chapman
johnch_atms at hotmail.com
Mon Jan 1 12:33:27 UTC 2018
On Sunday, 31 December 2017 at 18:21:29 UTC, Domain wrote:
> In Windows, exists, rename, copy will report file not exists
> when you input non-English filename, such as Chinese 中文.txt
Works for me. I created a file with the name "中文.txt" and
std.file.exists returned true.
Is your D source file saved in ASCII by any chance? Try saving it
with a different encoding, such as UTF8.
More information about the Digitalmars-d-learn
mailing list