I can only test here empirically.
I created a couple of folder names and filenames in Greek text.
I can read those names using the shell methods (and pipe methods) for dir, both in notepad and the console.
I need shell"chcp 65001" to write dir properly to a file, and to write to the console I don't necessarily need it.
List Files and Dirs of Path with Unicode character support ?
Re: List Files and Dirs of Path with Unicode character support ?
To be precise I didn't test the "write to file method". I tried to read the pipe data and just print them on screen.
I do not want to use a "write to file" method in order to list the files. I want to make it thread safe without using a temp file on the harddrive.
I do not want to use a "write to file" method in order to list the files. I want to make it thread safe without using a temp file on the harddrive.
dodicat wrote: ↑Sep 18, 2022 15:00 I can only test here empirically.
I created a couple of folder names and filenames in Greek text.
I can read those names using the shell methods (and pipe methods) for dir, both in notepad and the console.
I need shell"chcp 65001" to write dir properly to a file, and to write to the console I don't necessarily need it.