Eclipse设置UTF-8格式

作者:小胖吴 | 创建时间: 2023-04-27
将Eclipse所有的设置都设置为UTF-8格式,以方便开发使用。...
Eclipse设置UTF-8格式

操作方法

Window -> Preferences -> General -> Workspace -> Text file encoding,选择Other选项的UTF-8

Window -> Preferences -> General -> Content Types 选择Text,下边Default encoding写为:UTF-8,点Update按钮。 展开Text,把"Java Properties File"、"JSP"的"ISO-8859-1"统统设置为UTF-8

Window -> Preferences -> Web -> JSP Files -> Encoding选择ISO 10646/Unicode(UTF-8),点Apply按钮

点击展开全文

更多推荐