Linux application Chinese display for box solution

Source: Internet
Author: User

Linux application Chinese display for box solution

Linux (I use Ubuntu) under the Java application, the UI input Chinese characters, will be displayed as a box, although the final

There is no problem outputting or generating the file, but the input in the application does not display correctly.

The reason is the lack of Chinese package in the JDK, we can download Fireflysung to solve this problem.

Under lib/fonts/in the JRE directory, create a new directory fallback,

Put the Fireflysung.ttf in this directory.

Restart your application, OK, the problem is solved. ^_^

Fireflysung.rar (5.2 MB)

http://dl.iteye.com/topics/download/5c7dd7a5-e3fd-3bda-818d-f34c548bf842

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer group: 189034526 welcome you to join

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.