纳金网

标题: 让Unity的js编辑器SciTEG支持中文 [打印本页]

作者: 奔跑的小兔    时间: 2012-3-16 12:45
标题: 让Unity的js编辑器SciTEG支持中文
假如你的代码中有中文这个设置是很爽的。以后注释也可以中文了。
"Times New Roman";mso-hansi-"Times New Roman"">方法:

1. "Times New Roman";mso-hansi-"Times New Roman"">用记事本打开Crogram FilesUnityEditorDataToolsUniSciTESciTEGlobal.properties

2. "Times New Roman";mso-hansi-"Times New Roman"">找到# Internationalisation mso-hansi-"Times New Roman"">这一行下面的都是设置编码的(鄙视一下居然是Japanese mso-hansi-"Times New Roman"">)

3. "Times New Roman";mso-hansi-"Times New Roman"">可以把下面这段的都删除掉mso-ascii-"Times New Roman";"Times New Roman"">到#output.code.page=65001 mso-hansi-"Times New Roman"">这里

"Times New Roman";mso-hansi-"Times New Roman"">然后把下面粘贴到这个位置(改把chinese mso-hansi-"Times New Roman"">作为注释 10.5pt"> mso-ascii-"Times New Roman";mso-hansi-"Times New Roman"">)

4. "Times New Roman";mso-hansi-"Times New Roman"">大功告成mso-ascii-"Times New Roman";"Times New Roman"">。试一下打些中文然后选择中文 "Times New Roman";mso-hansi-"Times New Roman"">如果不乱码(不改这个选择中文会乱码)mso-ascii-"Times New Roman";"Times New Roman"">祝你成功!

# Internationalisation
# Chinese input code page 936 and Chinese character set 136
code.page=936
character.set=136
# Unicode
code.page=65001
character.set=136
# Required for Unicode to work on GTK+:
LC_CTYPE=en_US.UTF-8
output.code.page=65001


转自unity3d8.com
作者: 彬彬    时间: 2012-3-16 18:59
  学习
作者: 萤火虫    时间: 2012-3-16 21:44
顶顶
作者: osaka    时间: 2012-3-16 22:18
很好~




欢迎光临 纳金网 (http://go.narkii.com/club/) Powered by Discuz! X2.5