On Tuesday, 18 July 2023 at 23:52:06 UTC, Alexander Zhirov wrote: > PS C:\dlang\test> cat .\stderr.txt How does the cat program know what the encoding of the file is? Try opening it in notepad or something and specifying the encoding. I betcha it is perfectly fine.