1、打开Eclipse,依次点击Window --> Perferences --> General --> workspace 2、红色标记部分选中Other并将其修改为 UTF-8 3、点击Apply,或者Apply and Close