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

Christophe TROESTLER <[email protected]>
Newsgroups gmane.mail.mew.general
Organization Universite de Mons (http://math.umons.ac.be/an/)
Message-ID <20091025.183835.169898591696534012.Christophe.Troestler@umons.ac.be>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.