[mew-int 2747] Re: Emacs 23, uses utf-8 instead of iso-8859-1

Christophe TROESTLER Christophe.Troestler at example.com
Mon Oct 26 02:38:35 JST 2009


On Sun, 25 Oct 2009 12:36:51 -0400, Harald Hanche-Olsen wrote:
> 
> (setq mew-cs-database-for-encoding
>       '(((ascii) nil "7bit" "7bit")
> 	((iso-8859-1) iso-8859-1 "8bit" "Q")
> 	(nil utf-8 "base64" "Q")))

Thanks.  Since the default value is

(((ascii)
  nil "7bit" "7bit" nil)
 ((ascii latin-iso8859-1)
  iso-8859-1 "quoted-printable" "Q" nil)
  ...

I thought I was fine...  Following your suggestion, I set

(setq mew-cs-database-for-encoding
      '(((ascii) nil "7bit" "7bit")
	((ascii iso-8859-1)  iso-8859-1 "8bit" "Q")
	(nil utf-8 "base64" "Q")))

and it is working as I want.  Any idea how to make it work also for
latin-0 ?  I tried adding the line

	((ascii iso-8859-15) iso-8859-15 "8bit" "Q")

but that does not work (the presence of the euro sign triggers utf-8).
Also, What is the relation with mew-charset-latin (which I set to
"iso-8859-15") ?

> [...] this variable is briefly mentioned in the mew info file, at
> the end of (mew)Top > Customize > charset.

Yes, the problem is that it is not very clear to me what the various
parameters mean.  Documenting the variable would be nice.

Cheers,
Christophe


More information about the Mew-int mailing list