HackerXieHao

当你以UTF-8的形式保存时,可能会出现中文注释乱码,两种解决方案如下:

一、在工程名上右击--properties(属性)--Resoure,把Text files encoding改为 UTF-8,然后Apply

二、windows--preferences--General--Content Types--text--Java source file,

查看默认编码(default encoding)是不是UTF-8,不是就修改为UTF-8,然后Update。

分类:

技术点:

相关文章:

  • 2022-01-16
  • 2021-12-24
  • 2021-08-19
  • 2021-09-10
  • 2022-01-03
  • 2021-06-26
  • 2021-07-11
  • 2022-01-03
猜你喜欢
  • 2022-01-01
  • 2022-01-01
  • 2021-12-23
  • 2021-08-06
  • 2022-01-01
相关资源
相似解决方案