代码首行添加chcp 65001

  • 936>GB2312
  • 20127>US-ASCII
  • 65001>UTF-8
chcp 65001
@echo off
echo "你好"