February 19th, 2006

請在_vimrc裡最前面設定

let $LANG="zh_TW.UTF-8"
set termencoding=utf8
set encoding=utf-8

後面拿掉其它有設定encoding(enc)或是termencoding(tenc)的就可以了:)

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Twitter
  • Ping.fm
  • Plurk
  • Tumblr

This entry was posted on Sunday, February 19th, 2006 at 12:47 am and is filed under 資訊分享. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>