When Java-based desktop applications were installed with Ubuntu8.10 in the past, a common problem was that the Chinese characters on the interface were displayed as square characters or garbled characters, while the English language was normal. This problem can be solved in a simple way. Run the code cd/usr/lib/jvm/Your jvm/jre/lib/fontssudomkdirfallback & amp; sudoln-s/usr/lib/fonts/truetype/wqy/
In the past, when I installed a Java-based desktop application in Ubuntu 8.10, I often encountered a problem: the Chinese characters on the interface are displayed as square characters or garbled characters, while the English language is normal. This problem can be solved in a simple way. Run the code
Cd/usr/lib/jvm/Your jvm/jre/lib/fonts
Sudo mkdir fallback & sudo ln-s/usr/lib/fonts/truetype/wqy/wqy-zenhei.ttc fallback/wqy-zenhei.ttf
Generally, the above method can solve the problem that Chinese characters are garbled and square characters. However, this method does not solve my problem after I upgrade to Ubuntu 9.10. I installed SmartSVN as usual and found Chinese garbled characters. I thought it could be done easily, however, no matter which directory under/usr/lib/jvm I press the above method, the problem cannot be solved. I tried multiple times and ended up failing. The problem I encountered was as follows:
We can see that there are no garbled characters in Chinese, but we can see it vaguely as Chinese, but there is a problem with rendering.