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

2008-04-04 Thread Alain Bench
Hello Kurt, James, On Thursday, April 3, 2008 at 19:23:53 +0200, Kurt Roeckx wrote: > The termencoding should be based on the LCTYPE, and what "locale > charmap" or nl_langinfo(CODESET) returns. I see no reason why you ever > want this to be something else. Exactly. That should have been Th

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

2008-04-03 Thread Kurt Roeckx
On Thu, Apr 03, 2008 at 02:08:51PM -0400, James Vega wrote: > On Thu, Apr 03, 2008 at 07:23:53PM +0200, Kurt Roeckx wrote: > > To restate my problem: > > - I want to be able to edit files that are not written in whatever my > > environment says and that it properly interpretes and shows that file

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

2008-04-03 Thread James Vega
On Thu, Apr 03, 2008 at 07:23:53PM +0200, Kurt Roeckx wrote: > To restate my problem: > - I want to be able to edit files that are not written in whatever my > environment says and that it properly interpretes and shows that file > to me. This does not happen with the default values. This is

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

2008-04-03 Thread Kurt Roeckx
On Thu, Apr 03, 2008 at 12:27:01AM -0400, James Vega wrote: > On Sat, Dec 22, 2007 at 02:27:00PM +0100, Kurt Roeckx wrote: > > 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

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

2008-04-02 Thread James Vega
On Sat, Dec 22, 2007 at 02:27:00PM +0100, Kurt Roeckx wrote: > 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

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

2007-12-22 Thread Kurt Roeckx
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 >

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

2007-12-21 Thread James Vega
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 s