I would like to echo the unicode character "é" in cmd via running bat file. I prepared a short script:
@echo off
SET message=Gép3
echo %message%
pause
how can I do that? Is there a possibility to put directly this letter into the code?
I would like to echo the unicode character "é" in cmd via running bat file. I prepared a short script:
@echo off
SET message=Gép3
echo %message%
pause
how can I do that? Is there a possibility to put directly this letter into the code?
Do this (both are important):
chcp 65001
i. e. edit your example code in this way:
@echo off
chcp 65001
SET message=Gép3
echo %message%
pause
Again, it is important that you save your .bat file with encoding UTF-8