Solution to the problem of Chinese garbled code (box) on Android studio console

Solution to the problem of Chinese garbled code (box) on Android studio console

Recently, I encountered a disgusting thing. When I used dead throw, I found that how can my console output Chinese and display boxes??? Everyone else is fine. I'm disgusted. After a variety of Baidu, finally found a solution, the solution is disgusting enough. Let's have a look.

The display result of garbled code is as follows:

The solution is very simple. Just set the font to YaHei. (maybe the previously downloaded Apple programming font does not support it)

The modified results can be displayed normally

Make a simple record again,

Thank you for reading, hope to help you, thank you for your support to this site!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>