Process Chinese characters on Ubuntu7.10's English interface

Source: Internet
Author: User
I wrote an article about how to process Chinese characters on the Ubuntu English interface, which was written based on 6.06LTS. Thanks to the rapid improvement of Ubuntu, many contents are no longer suitable after the release of Ubuntu, which may be helpful to all Chinese users of UbuntuLinux. 1. Modify the/etc/environment file of the region environment variable settings and add the following configuration: LC_CTY

I wrote an article about how to process Chinese characters on the Ubuntu English interface, which was written based on 6.06LTS. Thanks to the rapid improvement of Ubuntu, many contents are no longer suitable after the release of Ubuntu7.10, which has been "Brave long-arm ape" today, we hope this article will help all Chinese users of Ubuntu Linux.

1. Set Regional Environment Variables

Modify the/etc/environment file and add the following Configuration:

LC_CTYPE = "zh_CN.UTF-8"

LC_NUMERIC = "en_US.UTF-8"

LC_TIME = "en_US.UTF-8"

LC_COLLATE = "zh_CN.UTF-8"

LC_MONETARY = "en_US.UTF-8"

LC_MESSAGES = "en_US.UTF-8"

LC_PAPER = "en_US.UTF-8"

LC_NAME = "en_US.UTF-8"

LC_ADDRESS = "en_US.UTF-8"

LC_TELEPHONE = "en_US.UTF-8"

LC_MEASUREMENT = "en_US.UTF-8"

LC_IDENTIFICATION = "en_US.UTF-8"

LC_ALL =

LANGUAGE = "en_US: en"

Ststst_id3_tag_encoding = GBK

LANG = "en_US.UTF-8"

2. Input Method settings

Install scim and its Intelligent Pinyin input method.

Sudo apt-get install scim-pinyin

Edit the/etc/X11/xinit/xinput. d/all_ALL file and use the following settings:

XIM = SCIM

XIM_PROGRAM =/usr/bin/scim

XIM_ARGS = "-d"

GTK_IM_MODULE = scim

QT_IM_MODULE = scim

DEPENDS = "scim, scim-pinyin"

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.