将Unicode编码改成UTF-8编码步骤:Window-->Preferences-->General-->Content Types-->Text-->Java Properties File 具体请看图示: