1.cmd窗口用javac编译时提示“错误: 编码GBK的不可映射字符”java
(或需先用记事本另存为utf-8编码格式)编码
在cmd窗口下执行javac命令时指定编码,写为javac -encoding utf-8 -d . 文件名utf-8