Introduction to Xwindow International Environment (Xi18n)

Source: Internet
Author: User

· The X Window System is faced with two major issues: Text Processing and message display. In terms of message display, before the I18N and L10N standards of libc were established, the article used the resource file (X Resources) to store the translation of messages. The penetration rate of this method is not high. Now with I18N and L10N, you can achieve the desired goal by using LC_MESSAGES.
· However, text processing is much more complicated, mainly in terms of text output and input. In the graphic interface, different characters need different fonts to be displayed. Therefore, to fully display all text symbols in a region, many different fonts are often used at the same time. Therefore, an additional FontSet is defined in the regional environment definition of X Window. Taking our zh_TW.Big5 region environment as an example, in the X Window System Using XFree86 (including GNU/Linux), our font set includes the font of A ISO8859-1, and a BIG5-0 font for displaying English and Big5 Chinese respectively. However, in other UNIX systems that use non-XFree86, the definition of the font set varies.
· With the definition of the font set, the X Window System will automatically select appropriate fonts from the font set to display each text based on the LC_CTYPE encoding identification and analysis mechanism of libc. Therefore, the X Window application does not need to know the encoding details of each language, and the font set can automatically display all the text symbols in the language. Therefore, programs can be internationalized.

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.