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.