解决方案一:
html页面加上<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />,并统一Tomcat中字符集编码
解决方案二:检查html文本属性是否为utf-8,不为uft-8就统一为utf-8
解决方案三:设置Window->prefernces->general->workspace默认编码为utf-8
并设置Window->prefernces->general->content types—>text属性以及其子菜单内容的属性的编码为utf-8如下图