Re: [RFC] Default 'encoding' to UTF-8

2009-03-13 Fir de Conversatie Mike Williams
Matt Wozniski wrote: On Mon, Mar 2, 2009 at 8:40 PM, James Vega wrote: With Vim's current behavior, 'encoding' is derived from the environment and 'fileencoding'/'termencoding' derive from 'encoding' (modulo 'fileencodings' affect on 'fenc'). This seems sub-optimal for various reasons. 1)

Re: [RFC] Default 'encoding' to UTF-8

2009-03-13 Fir de Conversatie Matt Wozniski
On Fri, Mar 13, 2009 at 12:01 PM, Mike Williams wrote: Matt Wozniski wrote: This sounds like a very good idea to me.  I don't know of any other programs that allow you to change encoding used internally, and we would be in good company if we chose to always use a unicode encoding

Re: [RFC] Default 'encoding' to UTF-8

2009-03-13 Fir de Conversatie Mike Williams
Matt Wozniski wrote: On Fri, Mar 13, 2009 at 12:01 PM, Mike Williams wrote: Matt Wozniski wrote: This sounds like a very good idea to me. I don't know of any other programs that allow you to change encoding used internally, and we would be in good company if we chose to always use a unicode

RE: Supported OSes with 16-bit integers (was Re: [RFC] Default 'encoding' to UTF-8)

2009-03-05 Fir de Conversatie Antonio Colombo
Hi everybody, I don't know how large integers are in zOS (with EBCDIC), I guess large enough, since this is a Unix-like OS (but not Linux) for IBM mainframes, zOS has 32 bits and 64 bits integers. It never really had 16bits integers (back from 1964 or 1965). You could use them, but the

Re: Supported OSes with 16-bit integers (was Re: [RFC] Default 'encoding' to UTF-8)

2009-03-04 Fir de Conversatie Tony Mechelynck
On 04/03/09 08:24, James Vega wrote: On Wed, Mar 04, 2009 at 01:27:29AM -0500, James Vega wrote: On Tue, Mar 03, 2009 at 01:12:36PM +0100, Dennis Benzinger wrote: I meant systems which have or can use only a small amount of memory. For example (16bit) MS-DOS where you can only use 640KB.

Re: [RFC] Default 'encoding' to UTF-8

2009-03-03 Fir de Conversatie Markus Heidelberg
Dennis Benzinger, 03.03.2009: Hi! Am 03.03.2009 06:40, James Vega schrieb: [...] 2) Vim compiled with the --disable-multibyte configure option cannot use UTF-8, or any other multibyte encoding; in fact it doesn't even accept the 'encoding' option as valid. Is there a reason

Re: [RFC] Default 'encoding' to UTF-8

2009-03-03 Fir de Conversatie Markus Heidelberg
Tony Mechelynck, 03.03.2009: On 03/03/09 06:40, James Vega wrote: On Tue, Mar 03, 2009 at 03:32:45AM +0100, Tony Mechelynck wrote: 2) Vim compiled with the --disable-multibyte configure option cannot use UTF-8, or any other multibyte encoding; in fact it doesn't even accept the

Re: [RFC] Default 'encoding' to UTF-8

2009-03-03 Fir de Conversatie Dennis Benzinger
Hi Markus! Am 03.03.2009 11:14, Markus Heidelberg schrieb: Dennis Benzinger, 03.03.2009: Hi! Am 03.03.2009 06:40, James Vega schrieb: [...] 2) Vim compiled with the --disable-multibyte configure option cannot use UTF-8, or any other multibyte encoding; in fact it doesn't even

Re: [RFC] Default 'encoding' to UTF-8

2009-03-03 Fir de Conversatie Markus Heidelberg
Dennis Benzinger, 03.03.2009: Hi Markus! Am 03.03.2009 11:14, Markus Heidelberg schrieb: Dennis Benzinger, 03.03.2009: Hi! Am 03.03.2009 06:40, James Vega schrieb: [...] 2) Vim compiled with the --disable-multibyte configure option cannot use UTF-8, or any other

Re: [RFC] Default 'encoding' to UTF-8

2009-03-03 Fir de Conversatie Tony Mechelynck
On 03/03/09 11:20, Markus Heidelberg wrote: Tony Mechelynck, 03.03.2009: On 03/03/09 06:40, James Vega wrote: On Tue, Mar 03, 2009 at 03:32:45AM +0100, Tony Mechelynck wrote: 2) Vim compiled with the --disable-multibyte configure option cannot use UTF-8, or any other multibyte encoding; in

Re: [RFC] Default 'encoding' to UTF-8

2009-03-03 Fir de Conversatie James Vega
On Tue, Mar 03, 2009 at 01:12:36PM +0100, Dennis Benzinger wrote: Hi Markus! Am 03.03.2009 11:14, Markus Heidelberg schrieb: Dennis Benzinger, 03.03.2009: Hi! Am 03.03.2009 06:40, James Vega schrieb: [...] 2) Vim compiled with the --disable-multibyte configure option cannot

Re: [RFC] Default 'encoding' to UTF-8

2009-03-02 Fir de Conversatie Tony Mechelynck
On 03/03/09 01:40, James Vega wrote: With Vim's current behavior, 'encoding' is derived from the environment and 'fileencoding'/'termencoding' derive from 'encoding' (modulo 'fileencodings' affect on 'fenc'). This seems sub-optimal for various reasons. 1) Vim is using an internal encoding

Re: [RFC] Default 'encoding' to UTF-8

2009-03-02 Fir de Conversatie James Vega
On Tue, Mar 03, 2009 at 03:32:45AM +0100, Tony Mechelynck wrote: On 03/03/09 01:40, James Vega wrote: ... 3) File encoding detection ('fencs') defaults to a value that is unlikely to correctly work with most interesting (non-ascii) files. Defaulting 'enc' to UTF-8 helps address

Re: [RFC] Default 'encoding' to UTF-8

2009-03-02 Fir de Conversatie Tony Mechelynck
On 03/03/09 06:40, James Vega wrote: On Tue, Mar 03, 2009 at 03:32:45AM +0100, Tony Mechelynck wrote: On 03/03/09 01:40, James Vega wrote: ... 3) File encoding detection ('fencs') defaults to a value that is unlikely to correctly work with most interesting (non-ascii) files.

Re: [RFC] Default 'encoding' to UTF-8

2009-03-02 Fir de Conversatie Dennis Benzinger
Hi! Am 03.03.2009 06:40, James Vega schrieb: [...] 2) Vim compiled with the --disable-multibyte configure option cannot use UTF-8, or any other multibyte encoding; in fact it doesn't even accept the 'encoding' option as valid. Is there a reason to allow building Vim without multibyte