I have following .bat file:
@echo off
echo %* > args.txt
I get all the args through this file using %*
and save them in a txt file to use them later.
But when I use special args that require utf-8, they are written as ?
in .txt file.
I tried using following code:
chcp 65001
But apparently, for this method to work, you must change the font of the console to support utf-8.
Is there another way I can fix this problem without changing the console font?