Eclipse中统一设置为UTF-8,以避免乱码。
在eclipse中设置:windows---> Preference---> Content Type-->选择jsp、java等,在encoding里输入UTF-8, 点击Update.
本文介绍如何在Eclipse中将文件编码统一设置为UTF-8,以避免出现乱码问题。具体步骤包括:通过windows>Preference>ContentType进行设置,并在encoding中指定UTF-8。
Eclipse中统一设置为UTF-8,以避免乱码。
在eclipse中设置:windows---> Preference---> Content Type-->选择jsp、java等,在encoding里输入UTF-8, 点击Update.
2545
2666

被折叠的 条评论
为什么被折叠?
