Home Download Buy Blog Forum Support

Sublime does not support Chinese?

Sublime does not support Chinese?

Postby arsaisy on Fri Jul 02, 2010 12:29 pm

Sublime does not support Chinese?
arsaisy
 
Posts: 2
Joined: Fri Jul 02, 2010 12:25 pm

Re: Sublime does not support Chinese?

Postby GreyWyvern on Tue Jul 06, 2010 2:46 pm

ST supports Simplified Chinese just fine here, although there is a noticeable delay when opening and making selections in files containing Chinese text. Make sure you have the fonts available to display the characters. I'm not sure if ST only loads TrueType fonts or what...
GreyWyvern
 
Posts: 106
Joined: Fri Oct 23, 2009 7:08 pm
Location: Canadia

Re: Sublime does not support Chinese?

Postby est on Thu Aug 26, 2010 8:28 am

GreyWyvern wrote:ST supports Simplified Chinese just fine here, although there is a noticeable delay when opening and making selections in files containing Chinese text. Make sure you have the fonts available to display the characters. I'm not sure if ST only loads TrueType fonts or what...


SL support UTF8 Chinese, but not really working properly with GB2312/GBK/CP936/Windows-936 Chinese text. Not sure if HK or BIG5 works.
est
 
Posts: 6
Joined: Tue Aug 24, 2010 9:15 am

Re: Sublime does not support Chinese?

Postby asmodai on Fri Aug 27, 2010 10:32 am

est wrote:
GreyWyvern wrote:ST supports Simplified Chinese just fine here, although there is a noticeable delay when opening and making selections in files containing Chinese text. Make sure you have the fonts available to display the characters. I'm not sure if ST only loads TrueType fonts or what...


SL support UTF8 Chinese, but not really working properly with GB2312/GBK/CP936/Windows-936 Chinese text. Not sure if HK or BIG5 works.


"Not really working properly" -- can you please be more specific? Are we talking about encoding/decoding issues here? Display issues? Data corruption?
asmodai
 
Posts: 73
Joined: Mon Mar 01, 2010 10:42 am

Re: Sublime does not support Chinese?

Postby est on Wed Sep 01, 2010 11:05 am

asmodai wrote:
est wrote:
GreyWyvern wrote:ST supports Simplified Chinese just fine here, although there is a noticeable delay when opening and making selections in files containing Chinese text. Make sure you have the fonts available to display the characters. I'm not sure if ST only loads TrueType fonts or what...


SL support UTF8 Chinese, but not really working properly with GB2312/GBK/CP936/Windows-936 Chinese text. Not sure if HK or BIG5 works.


"Not really working properly" -- can you please be more specific? Are we talking about encoding/decoding issues here? Display issues? Data corruption?


well since I mentioned UTF8 and GBK it's obvious encoding issue

viewtopic.php?f=4&t=1298
est
 
Posts: 6
Joined: Tue Aug 24, 2010 9:15 am

Re: Sublime does not support Chinese?

Postby fred on Fri Mar 18, 2011 11:00 am

ST2 Linux open chinese file , but can't display.
Attachments
screenshot.png
screenshot.png (29.44 KiB) Viewed 3612 times
Box: Gentoo Linux
Sublime Version: Version 2 Linux 64 bit
Language: zh_CN.utf8

My Blog: http://fred.oracle1.com
My Website: http://www.sixdating.com
fred
 
Posts: 30
Joined: Fri Mar 18, 2011 8:22 am

Re: Sublime does not support Chinese?

Postby jps on Fri Mar 18, 2011 11:20 am

I'm planning to look into supporting chinese properly after the stable version of Sublime Text 2 is released.

There are two possible issues going on here:

* It could be a file encoding issue. Sublime Text 2 will assume all files are UTF-8 by default (unless they start with a UTF-16 BOM) - none of the other CJK encodings are supported yet.
* It could also be a font issue, which would be my guess here. Sublime Text 2 doesn't make use of any fallback fonts on Linux, so if the current font doesn't have the required glyphs, then they won't be found in any other font.
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sublime does not support Chinese?

Postby fred on Fri Mar 18, 2011 12:17 pm

jps wrote:I'm planning to look into supporting chinese properly after the stable version of Sublime Text 2 is released.

There are two possible issues going on here:

* It could be a file encoding issue. Sublime Text 2 will assume all files are UTF-8 by default (unless they start with a UTF-16 BOM) - none of the other CJK encodings are supported yet.
* It could also be a font issue, which would be my guess here. Sublime Text 2 doesn't make use of any fallback fonts on Linux, so if the current font doesn't have the required glyphs, then they won't be found in any other font.


Yes, I change a fixed "monaco" and "Yahei Chinese" font, Now chinese can display. now, the only problem for me is can't use "Ctrl+Space" to active Chinese Input method. I change "Ctrl+Space" binding none. But also not work with input method.
Box: Gentoo Linux
Sublime Version: Version 2 Linux 64 bit
Language: zh_CN.utf8

My Blog: http://fred.oracle1.com
My Website: http://www.sixdating.com
fred
 
Posts: 30
Joined: Fri Mar 18, 2011 8:22 am

Re: Sublime does not support Chinese?

Postby harryli on Sat Mar 19, 2011 11:32 am

fred wrote:
Yes, I change a fixed "monaco" and "Yahei Chinese" font, Now chinese can display. now, the only problem for me is can't use "Ctrl+Space" to active Chinese Input method. I change "Ctrl+Space" binding none. But also not work with input method.


Hi Fred ,I am just interested how you change your font setting? I am on Ubuntu linux
harryli
 
Posts: 4
Joined: Thu Mar 17, 2011 8:49 pm

Re: Sublime does not support Chinese?

Postby fred on Sun Mar 20, 2011 4:49 am

harryli wrote:
fred wrote:
Yes, I change a fixed "monaco" and "Yahei Chinese" font, Now chinese can display. now, the only problem for me is can't use "Ctrl+Space" to active Chinese Input method. I change "Ctrl+Space" binding none. But also not work with input method.


Hi Fred ,I am just interested how you change your font setting? I am on Ubuntu linux


Just use a fixed font for sublime.
Attachments
screenshot.png
screenshot.png (74.48 KiB) Viewed 3547 times
Box: Gentoo Linux
Sublime Version: Version 2 Linux 64 bit
Language: zh_CN.utf8

My Blog: http://fred.oracle1.com
My Website: http://www.sixdating.com
fred
 
Posts: 30
Joined: Fri Mar 18, 2011 8:22 am

Next

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 21 guests