Sometimes the output of the Java program is garbled when it is started.

after the java program starts, sometimes the output is garbled, and the output is the text in the application code

.

ps check the execution command
`
root 27534 10 14:22? 00:00:09 java-jar / data/services/topic_monitor/topic-monitor.jar
`

Mar.03,2021

specify the file code in the JVM parameter -Dfile.encoding=UTF-8

Menu