Make SciTE Support Chinese
Thursday, June 28, 2007 by HongJunX
SciTE is the most powerful and lightweight editor I have never seen in linux before.By default,it does not support Chinese input and display,so we need to do some configuration work.
$sudo scite
This will start scite at root privilege,because we need write privilege.
Click Option menu,choose Open User Options File,add codes below to the file:
# 支持utf-8中文
code.page=65001
LC_CTYPE=zh_CN.UTF-8
output.code.page=65001
now,try typing some Chinese words,it works!
PS:I use SciTE as my C/C++ editor,of course I need the function of autocompletion,this is easy to configure,just uncomment the line:
autocompleteword.automatic=1
The only bug I had found is the Stop Executing function does not work for me.I had to turn off SciTE every time.
$sudo scite
This will start scite at root privilege,because we need write privilege.
Click Option menu,choose Open User Options File,add codes below to the file:
# 支持utf-8中文
code.page=65001
LC_CTYPE=zh_CN.UTF-8
output.code.page=65001
now,try typing some Chinese words,it works!
PS:I use SciTE as my C/C++ editor,of course I need the function of autocompletion,this is easy to configure,just uncomment the line:
autocompleteword.automatic=1
The only bug I had found is the Stop Executing function does not work for me.I had to turn off SciTE every time.
0 Comments:
Post a Comment