Linux Chinese Processing

Source: Internet
Author: User
Linux Chinese processing-general Linux technology-Linux technology and application information. For more information, see the following section. In fact, this post should have been written two weeks ago. At that time, I just completed Chinese Processing on slackware.

The core part of Linux Chinese processing is only Chinese display, Chinese Input and dictionary tools.

Linux internationalization has improved a lot compared to I had just started Linux three years ago. This is mainly reflected in the enhancement of the multi-language text mechanism in Linux. As the xft font display service program of X window and fontconfig font setting mechanism have been widely used, the problem of Chinese Character Display in Linux has become simple; and XIM (X Input Method) this is a widely used multi-language input mechanism.

By the way, currently CLF has a heated discussion on the "mechanism" and "policy". The application in this post is: linux provides a "mechanism" for multi-language support, and how to use it is a "policy" problem.

In addition to Linux's support for Chinese display, Chinese fonts are also an important issue. I have been feeling for a long time: there is no kind of font that can follow GPL or similar open-source protocols in the simplified Chinese world, as a result, I had to borrow the Windows Standard Simsun font to achieve the tolerable display effect. Now it is different. With the launch of the wenquanyi program, the simplified Chinese free fonts will be solved accordingly.

The second focus of Linux Chinese display is Chinese input. There are many Chinese Input Methods in Linux, and fcitx and scim are the mainstream. Before this Reinstallation, I have been using the small and fast fcitx, but this time I tried scim. The main reason for the change is that both fcitx and rxvt depend on the LC_CTYPE environment variable to determine the language environment. At the same time, rxvt and fcitx cannot be used to input Chinese Characters in an English environment. Scim, as an input method platform, supports various input methods including CJK, and fcitx is also port to scim. The scim of the KDE version is called SKIM. I was confused for a while when I first saw it.

However, as an input method, scim is very complex and almost bloated, occupying more system resources than fcitx.

Another problem for Chinese Input is that the default Input Method is "default", rather than "X Input Method ". I once saw a variable in the slackware version of Linuxsir.org, but I couldn't find it again. But fortunately, it can be set separately in rxvt, and Opera is XIM by default, which can handle 80% of Chinese input. This is how life is. When you want to find something, you cannot find it ......

In fact, both SCIM and fcitx depend on locale settings. Let's see KXN's "finally finished SCIM again.

The third focus of Chinese processing is a useful dictionary. In Windows, Kingsoft is probably no stranger. Is there any useful dictionary in Linux? Of course there are, and it is quite easy to use. This is StarDict, the star translator. StarDict is actually a dictionary engine that provides a dictionary query mechanism. By using this mechanism, you can install different dictionary files for any translation, either in Chinese or English, or in Chinese or Japanese, or Japan or South Korea, it can even be a variety of devil dictionaries. Some time ago, StarDict provided several new Buddhist dictionaries.
Related Article

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.