070811 Benno Schulenberg wrote:
> Philip Webb wrote:
>> I write e-mails with Gvim called up by Mutt (as now).
>>   [...] 
>>   termencoding -- character encoding used by the terminal
>>      set tenc=utf-8
> This suggests you are using a UTF-8 locale.

In  /etc/locale.gen  I have

  en_US ISO-8859-1
  en_US.UTF-8 UTF-8

For everyday purposes, I have no use for anything beyond ASCII,
ie English + French German Spanish accents,
but I do want to be able to handle Esperanto & Ancient Greek with Vim.

> In such an environment, Gvim produces UTF-8 encoded files.
> Try with 'gvim text', enter just your Ctrl-V 233, save the file
> and look at it with 'xxd text'.  If it shows c3a9, it's UTF-8.

  purslow: tmp> gvim test.d1
  [perform edit as described]
  purslow: tmp> xxd test.d1
    0000000: e90a                                     ..

> If gvim should produce ISO-8859-1, make sure to call it with LC_ALL=C.

Could you clarify in light of my test ?
Eg do you mean I should alias Gvim in  .bashrc ?

> That does not solve the actual bug:
> Mutt should not advertise  charset=iso-8859-1 ,
> when the message contains UTF-8.

If this is a real issue, albeit small, not simply a quibble,
I'm willing to investigate further.  It is a bit irritating
that when I look at my e-mails with Most, e-acute doesn't display correctly.

-- 
========================,,============================================
SUPPORT     ___________//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT    `-O----------O---'  University of Toronto
-- 
[EMAIL PROTECTED] mailing list

Reply via email to