[mew-int 2968] Re: GBK encoding problem

Kazu Yamamoto ( 山本和彦 ) kazu at example.com
Mon Feb 28 10:08:26 JST 2011


Hello,

> using Emacs 24 (bzr version from a few days ago) I see this:
> 
>   X-Mew: Charset (GBK) for body is not supported.
> 
> However, GBK actually *is* a supported charset on Emacs 24.
> 
> Any chance to get this fixed?

I'm not familiar with GBK but how about the following patch?

--Kazu

diff --git a/mew-mule3.el b/mew-mule3.el
index 74f9976..553aa83 100644
--- a/mew-mule3.el
+++ b/mew-mule3.el
@@ -113,6 +113,7 @@
     ((ascii latin-jisx0201 japanese-jisx0208 japanese-jisx0208-1978)
                                iso-2022-jp "7bit"             "B" t)
     ((ascii korean-ksc5601)     euc-kr     "8bit"             "B" t)
+    ((ascii chinese-gbk)        gbk        "base64"           "B" t)
     ((ascii chinese-gb2312)     cn-gb-2312 "base64"           "B" t)
     ((ascii chinese-big5-1 chinese-big5-2)
                               chinese-big5 "base64"           "B" t)
@@ -152,6 +153,7 @@
     ("iso-8859-15"       iso-8859-15)
     ("iso-2022-cn"       iso-2022-cn)
     ("iso-2022-cn-ext"   iso-2022-cn-ext)
+    ("gbk"               gbk)
     ("gb2312"            cn-gb-2312) ;; should be before cn-gb
     ("cn-gb"             cn-gb-2312)
     ("hz-gb-2312"        hz-gb-2312)


More information about the Mew-int mailing list