Post by Benji FisherPost by A. J. Mechelynck[...]
Post by Kiem Lam-mouse_netterm +mouse_xterm -multi_byte +multi_lang +netbeans_intg
[...]
"-multi_byte" is the reason why 'enc' 'tenc' and 'fenc' are unsupported.
That is what I was thinking.
Post by A. J. MechelynckIf you compile gvim yourself, try --with-features=big (or
--with-features=huge but AFAIK the only difference between them is the
"profiling" feature).
I second that suggestion. I am also curious about the :version
output from vim 5.7, which did not give such trouble.
HTH --Benji Fisher
Hello,
I recompiled vim with --with-features=big. I am still facing the same
problem :-(. Here is what I get for the version:
VIM - Vi IMproved 6.4 (2005 Oct 15, compiled Feb 14 2006 15:28:45)
Compiled by ***@mcrs2
Big version with GTK GUI. Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset
+cindent +clientserver +clipboard +cmdline_compl +cmdline_hist
+cmdline_info +comments +cryptv +cscope +dialog_con_gui +diff
+digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search
+farsi
+file_in_path +find_in_path +folding -footer +fork() -gettext
-hangul_input +iconv +insert_expand +jumplist +keymap +langmap
+libcall
+linebreak +lispindent +listcmds +localmap +menu +mksession
+modify_fname +mouse +mouseshape +mouse_dec -mouse_gpm -mouse_jsbterm
+mouse_netterm +mouse_xterm +multi_byte +multi_lang +netbeans_intg
-osfiletype +path_extra -perl +postscript +printer -python +quickfix
+rightleft -ruby +scrollbind +signs +smartindent -sniff +statusline
-sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white -tcl
+terminfo +termresponse +textobjects +title +toolbar +user_commands
+vertsplit +virtualedit +visual +visualextra +viminfo +vreplace
+wildignore +wildmenu +windows +writebackup +X11 +xfontset +xim
+xsmp_interact +xterm_clipboard -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/tcs_usr/kla/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK
-I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2
-I/opt/gnome/lib/glib/include -g -O2
Linking: gcc -o vim -L/opt/gnome/lib -lgtk -lgdk -lgmodule -lglib
-lintl -lXext -lm -lICE -lXt -lncurses
I am now able to run the :verbose set enc? command and it returns
encoding=latin1. I tried :set enc=utf-8 but there was no improvement
(I got a capital "A" with a "~" on the top of it instead of the
circle... Ô joie! Ô allégresse!).
For comparison purpose, I ran vim 5.7 and I printed out its version.
Here is what I got:
VIM - Vi IMproved 5.7 (2000 Jun 24, compiled Nov 14 2000 10:11:45)
Compiled with (+) or without (-):
+autocmd +browse +builtin_terms +byte_offset +cindent +cmdline_compl
+cmdline_info +comments +cryptv -cscope +dialog_con_gui +digraphs
-emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path
-osfiletype +find_in_path +fork() +GUI_Motif
-hangul_input +insert_expand -langmap +linebreak +lispindent +menu
+mksession +modify_fname +mouse -mouse_dec -mouse_gpm
-mouse_netterm +mouse_xterm -multi_byte -perl -python +quickfix
-rightleft +scrollbind +smartindent -sniff +statusline
+syntax +tag_binary +tag_old_static -tag_any_white -tcl +terminfo
+textobjects +title +user_commands +visualextra +viminfo
+wildignore +wildmenu +writebackup +X11 -xfontset -xim
+xterm_clipboard -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DUSE_GUI_MOTIF -I.
-g -O2 -Wall
Linking: gcc -o vim -L. -lXext -lXm -lXp -lXt -lXt -lX11 -ltermlib
Can the source of my problem lie in the difference between some
compilation options? I looked at them but I am not very familiar with
them.
Regards,
--
Kiem Lam