" piaip's gvim settings for gvim/win32 with UTF8
" optimized for Traditional Chinese users
" last update: Mon Jun  7 17:59:54 CST 2004

let $LANG="zh_TW.UTF-8" " locales
set encoding=utf-8      " ability
set fileencoding=big5   " prefer
" charset detect list. ucs-bom must be earlier than ucs*.
set fileencodings=ascii,ucs-bom,utf-8,ucs-2,ucs-le,sjis,big5,latin1

" for console mode we use big5
if has("gui_running")
    set termencoding=utf-8
else
    set termencoding=big5
endif

" vim:ft=vim