[mew-int 2805] Re: Charset (windows-1256) for body is not supported.

Christophe TROESTLER Christophe.Troestler at example.com
Sun Jan 24 23:59:48 JST 2010


On Sun, 24 Jan 2010 09:23:57 -0500, Harald Hanche-Olsen wrote:
> 
> + Christophe TROESTLER <Christophe.Troestler at example.com>:
> 
> > I use the development version of Mew with Emacs 23.  For the attached
> > message, Mew says that "Charset (windows-1256) for body is not
> > supported" despite the fact that mew-cs-database-for-decoding contains
> > 
> >  ("windows-1256" windows-1256)
> > 
> > Is this due to new inner representation of Emacs 23 ?
> 
> It appears that emacs does not support this charset.
> If you do M-x list-coding-systems RET you will see that windows-1256
> is missing (whereas windows-125[0-578] are all there).

Indeed.  This is a bit odd to me as there is a file
/usr/share/emacs/23.1/etc/charsets/CP1256.map in the Emacs
distribution.  The person who send me the message did not really want
to send me arabic however so I added

(if (not (memq 'windows-1256 coding-system-list))
    (define-coding-system-alias 'windows-1256 'windows-1252))

and this does the job.

Thanks for your answer.
Christophe


More information about the Mew-int mailing list