解决tomcat控制台乱码问题
</h1>
<div class="clear"></div>
<div class="postBody">

问题原因:编码不一致,tomcat启动后默认编码UTF-8,而windows的默认编码是GBK。所以只需配置启动tomcat后为GBK编码即可。
做法:找到路径 $xxx$apache-tomcat-xxxconf 下的logging.properties文件,添加(或修改)语句为:java.util.logging.ConsoleHandler.encoding = GBK

然后重启tomcat就ok了。

</h1>
<div class="clear"></div>
<div class="postBody">
问题原因:编码不一致,tomcat启动后默认编码UTF-8,而windows的默认编码是GBK。所以只需配置启动tomcat后为GBK编码即可。
做法:找到路径 $xxx$apache-tomcat-xxxconf 下的logging.properties文件,添加(或修改)语句为:java.util.logging.ConsoleHandler.encoding = GBK
然后重启tomcat就ok了。
Excel实战技巧之[二级条件级联]
kingston DataTraveler2.0 4GU盘量产成功
Windows XP SP3增强补丁 V1.3 破解uxtheme.dll和TCP/IP连接数的破解
诺基亚系列手机型号命名研究
硬件检测相关工具大全
最好的MacOSX美化包——MacXize(支持SP3)
我终于把《新概念英语》三册&四册全背下来了
IBM T22故障
Windows通用克隆系统入门基础知识简介
Copyright © 2011-2022 走看看