Skip to content

Commit

Permalink
新增文章:Mac系统下控制台输出乱码
Browse files Browse the repository at this point in the history
  • Loading branch information
judasn committed Feb 9, 2014
1 parent fd05dd3 commit c3d4bc7
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#Mac系统下控制台输出乱码

---

* **工具名称**:IntelliJ IDEA
* **工具版本**:12.1.6
* **操作系统**:Mac OS
* **问题描述**
![问题描述](http:https://external-img.b0.upaiyun.com/mac-system-IntelliJ-IDEA-Chinese-garbled.jpg)
* **解决方案**
在配置IntelliJ IDEA的tomcat时,给VM选项添加此参数:-Dfile.encoding=UTF-8
更具体请参考http:https://www.kafeitu.me/tools/2013/03/26/intellij-deal-chinese-disorderly-code.html

---

* **作者**:Judas.n [作者Blog](http:https://www.YouMeek.com "个人博客")
* **时间**:2014年2月9日 16:57:28

0 comments on commit c3d4bc7

Please sign in to comment.