[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unknown charset, gbk
From: |
Sven Joachim |
Subject: |
Re: unknown charset, gbk |
Date: |
Sat, 29 Mar 2008 18:21:07 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.2.50 (gnu/linux) |
On 2008-03-29 16:29 +0100, Nicolas KOWALSKI wrote:
> Gnus sometimes complains of an unknown charset "gbk" when I enter a
> group. Is there something I can do to prevent it or make Gnus accept
> this charset ?
Yes, add an alias to the correct charset in `mm-charset-synonym-alist'.
> This is with the Debian 4.0 default packages:
>
> gnus-version's value is "No Gnus v0.6"
> emacs-version's value is "21.4.1"
The current Gnus CVS already has aliased gbk to cp936:
,----
| 2007-10-08 Reiner Steib <Reiner.Steib@gmx.de>
|
| * mm-util.el (mm-charset-synonym-alist): Alias gbk to cp936.
`----
Here's how you can add that in your Gnus init file:
(add-to-list 'mm-charset-synonym-alist '(gbk . cp936))
Cheers,
Sven