otale / tale

🦄 Best beautiful java blog, worth a try
https://tale.biezhi.me
MIT License
4.86k stars 1.5k forks source link

eclipse里中文字符显示乱码 #567

Open manaatmoon opened 5 years ago

manaatmoon commented 5 years ago

大家好,我用eclipse自学这个项目,java新手,有的html模板中文显示正常,有的html模板中文就乱码了,谁知道怎么解决呢?

manaatmoon commented 5 years ago

abc

dongm2ez commented 5 years ago

文档编码调节一下,应该上utf8

开 2019年7月25日 在 11:03:20, manaatmoon (notifications@github.com) 写到:

大家好,我用eclipse自学这个项目,java新手,有的html模板中文显示正常,有的html模板中文就乱码了,谁知道怎么解决呢?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

manaatmoon commented 5 years ago

谢谢了 但是现在默认就是 ISO 10646/Unicode(UTF-8)呢,中文字符是乱码

manaatmoon commented 5 years ago

ba

dongm2ez commented 5 years ago

你看看用记事本或者其他工具打开会有乱码吗

manaatmoon commented 5 years ago

用Notepad++ 好着呢

dongm2ez commented 5 years ago

那就不是代码本身的问题,是eclipse设置问题

开 2019年7月25日 在 16:46:24, manaatmoon (notifications@github.com) 写到:

用Notepad++ 好着呢

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

manaatmoon commented 5 years ago

好的 谢谢您了 我再研究研究设置

manaatmoon commented 5 years ago

找到正确的设置了 谢谢啦