+"euc-jp" file encoding autodetection.
authorshort <>
Mon, 15 Aug 2005 02:32:21 +0000 (02:32 +0000)
committershort <>
Mon, 15 Aug 2005 02:32:21 +0000 (02:32 +0000)
.vimrc

diff --git a/.vimrc b/.vimrc
index 4fc1e2f..6f20711 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -44,7 +44,8 @@ endfunction
 set encoding=utf-8
 set termencoding=utf-8
 " fileencoding is detected from fileencodings, first one for empty files
-set fileencodings=utf-8,iso-8859-2
+" 'iso-8859-2,euc-jp' really does not work for 'euc-jp'
+set fileencodings=utf-8,euc-jp,iso-8859-2
 
 ca X x
 syntax off