Re: [OT]在Windows下寫BIG5編 碼的繁體中文文件,有什麽好的 方案

"Jiahua Huang" <[email protected]> Tue, 22 Jan 2008 10:31:47 +0800
Newsgroups gmane.comp.python.chinese
Message-ID <[email protected]>
不要跟 mIRC 那样把字体和编码搞混了

2008/1/22 大熊 <[email protected]>:
> emeditor的设置[All Configure]->[File]->[Open
> Encoding],改成你要的编码就行了。字体应该不用等特别设置,不过Big5用MingLiu总没错吧。
> 如果发现打开的文件编码有问题,可以手工在右下角的状态栏处的编码区双击,然后在弹出的菜单中选择你要的编码,很方便的
>

Windows 默认宋体都是包含了繁体字的,
而且即使不包含, Windows 也会自动选字

> vim稍加配置也能达到类似的效果,不过要安装插件,再作些定制,麻烦些
>

vim 自己就能自动识别编码, 如果你没打开的话,
在 .vimrc 加上
set fileencodings=utf-8,cp936,big5,euc-jp,euc-kr,latin1,ucs-bom

手工设置编码是
:set fileencoding=big5
_______________________________________________
python-chinese
Post: send [email protected]
Subscribe: send subscribe to [email protected]
Unsubscribe: send unsubscribe to  [email protected]
Detail Info: http://python.cn/mailman/listinfo/python-chinese