Article Catalog
- Why I'm writing this article
- method settle an issue
- recurrence of problems
- Modification method
- modified
Why I'm writing this article
This was a very simple problem and I had solved it a long time ago using more than one method and making notes on my computer. It wasn't until much later that I switched computers, and when the problem reappeared on the console, I didn't bother to solve it, after all, it was on theunit testThe time is not to goTomcatwhich means that there will be no suchmojibake (nonsense characters displayed when software fails render text according to its intended character encoding)Question.
Until recently, my coworkers have been reminding me to change it after seeing the messy Chinese characters in my console. Well, let's change it. So I decisively opened the settings panel and typed. I actually forgot the command, so that said I searched the internet directly and got it back quickly.
For me, this kind of problem is a very simple one, but when I encountered it again now, a long time later, I was left with only the idea of solving it, and the detailed instructions were basically blurred, so I said that I would simply write it down here in case I might need it again in the future.
method settle an issue
recurrence of problems
Pre-solution:
��Ϣ: Starting Servlet Engine: Apache Tomcat/7.0.68
ʮ���� 22, 2018 4:37:27 ���� start
��Ϣ: Starting ProtocolHandler ["http-apr-8080"]
ʮ���� 22, 2018 4:37:27 ���� start
��Ϣ: Starting ProtocolHandler ["ajp-apr-8009"]
ʮ���� 22, 2018 4:37:27 ���� start
��Ϣ: Server startup in 47 ms
Connected to server
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
Modification method
The modification method is shown below:
preciselyVM options
Add in:
-=UTF-8
- 1
modified
After the settlement:
text: Starting Servlet Engine: Apache Tomcat/7.0.68
twelfth month (of the lunar year) 22, 2018 4:40:41 afternoon start
text: Starting ProtocolHandler ["http-apr-8080"]
twelfth month (of the lunar year) 22, 2018 4:40:41 afternoon start
text: Starting ProtocolHandler ["ajp-apr-8009"]
twelfth month (of the lunar year) 22, 2018 4:40:41 afternoon start
text: Server startup in 52 ms
Connected to server
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8