On Sat, Aug 26, 2006 at 06:49:23PM +0200, Alain Bench wrote: > > I generally recommend to disable auto-sensing in Vim when called by > Mutt, by unsetting $fileencodings. But I don't know how it will interact > with your specific $encoding and $termencoding settings. Perhaps will > you be forced to hardcode $fileencodings=latin1. Feedback welcome please.
I've set fileencoding, not fileencodings to latin1 for now, we'll see how it goes. > > Setting my terminal really in utf-8 mode would solve all my problems, > > the problem is that all the software I use currently does not support > > that, so I keep my terminal in latin1 mode. > > Locale is an environment thing: Each process can have it's own. You > can run Mutt in an UTF-8 terminal, other apps in a Latin-1 one. Set LANG > depending on the terminal, or such, nothing complicated. You can even > run 2 Mutts in 2 different terms simultaneously, if well configured. There are basicly 3 things that need to change: - Put your terminal in utf-8 mode (echo -n -e '\033%G') - Put your keyboard in utf-8 mode (kbd_mode -u) - Change your locale settings (atleast LC_CTYPE) to an utf-8 variant. It shouldn't be that hard to create a script to do that, but I'd rather have them all the same. Kurt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]