Set SublimeText2 in Ubuntu to display Chinese Characters & enter Chinese Characters

Source: Internet
Author: User
Sublimetext2 is very comfortable to use in macos. I tried to use it in Ubuntu today and found that Chinese characters cannot be displayed. Then I found the method: menu bar-& gt; Preferences-& gt; FileSettings-User, add: // Settingsinhereoverridethosein "Default/BaseFile. sublime-settings

Sublime text 2 is very comfortable to use in mac OS. Today I try to use it in Ubuntu and find that Chinese characters cannot be displayed,

Later I found the method:

Choose "menu"> "Preferences"> "File Settings-User" and add the following content to the configuration File:


// Settings in here override those in "Default/Base File. sublime-settings", and
// Are overridden in turn by file type specific settings. Place your settings
// Here, to ensure they're preserved when upgrading.
{
"Font_face": "WenQuanYi Micro Hei Mono"
}

It's OK, where wenquanyi is the famous open source font http://wenq.org/

Then we can solve the problem of Chinese input.

Sudo apt-get install scim

Sudo apt-get install scim-pinyin

In "system-preferences-scim Settings"

Scim settings-> global settings-> embed the pre-edited string into the client to remove it
Scim settings-> gtk-> unmark embedded candidate words

Select "scim-bridge" in "system-language support". Remember to log out and log in again after these modifications.

Alternatively, open the terminal, enter pkill scim, and then enter scim-d. If it does not work, you are advised to log out.

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.