Bug#379107: Reasoning behind 'encoding'/'termencoding' differences

Kurt Roeckx kurt at roeckx.be
Sat Dec 22 13:27:00 UTC 2007


On Sat, Dec 22, 2007 at 01:36:48AM -0500, James Vega wrote:
> After looking around in the help, the reasoning behind the current
> behavior seems to be described in ":help encoding-table" and in general,
> using the following will get the behavior you want:
> 
>   :let &termencoding = &encoding
>   :set encoding=utf-8
> 
> There are various caveats explained in that help section though.  If you
> feel the description and workaround are sufficient, please close the
> bug.  Otherwise, I would be interested in hearing how this doesn't meet
> your requirements.

So, what I would like is that atleast the
":let &termencoding = &encoding" is being done by default.  This seems
to do exactly what I want: base the termencoding on the LC_CTYPE.

But I'd still have to set encoding manual.  From reading the help, this
also seems to be the setting with the least problems.  So I would really
like to see that being set by default too.


Kurt






More information about the pkg-vim-maintainers mailing list