Echo UTF-8 characters in windows batch

chcp 65001

as mention by @cuixiping is a good answer but it require to change cmd default font to Lucida Console for example, as you can read here: https://superuser.com/questions/237081/whats-the-code-page-of-utf-8#272184

and of course, as mentioned by @BearCode, the text should be in utf-8… in my case, with Vim under GNU/Linux with remote access, but notepad++ is right way too!


Use chcp command to change active code page to 65001 for utf-8.

chcp 65001

Try starting CMD.exe with the /U switch: it causes all pipe output to be Unicode instead of ANSI.