[mew-int 2717] Re: Can not use UTF-8 for any characters

vvoody wxj.g.sh at example.com
Thu Aug 6 17:33:19 JST 2009


2009/8/6 Kazu Yamamoto <kazu at example.com>:
>> Sorry, Emacs 23.1 and Mew 6.2.51.
>> The en mails are ok, but CJK mails not. When I type C-cC-c, the
>> minibuffer displayed "nil"
>> and didn't send my mail. I found some information from the *Messages* buffer:
>
> I have tested this with both Emacs 22 and Emacs 23. In both cases, I
> can send a message with UTF-8.
>
> --Kazu
>

Hi, Kazu ;-)
I found that if there are some CJK characters in the subject, Mew
could not send the message and said 'nil'.
And if the subject just comprises English words, Mew can send the
message(having CJK characters, whatever). But the message was still
encoded with iso-2022-jp-2, not UTF-8.

To: wxj.g.sh at example.com
Subject: new message
From: vvoody <vvoody at example.com>
X-Mailer: Mew version 6.2.51 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp-2
Content-Transfer-Encoding: base64

GyRCIVobKEJPVBskQiFbQC44eTdPTnNHNzBsS3w+LhskQUoxGyhCDQpodHRwOi8vZ3JvdXBzLmdv
b2dsZS5jb20vZ3JvdXAvcHl0aG9uLWNuL2Jyb3dzZV90aHJlYWQvdGhyZWFkLzMyN2Q4NDYzMjA2
<snip>

--------------------

BTW, the Mew config section in the ~/.emacs are:

(autoload 'mew "mew" nil t)
(autoload 'mew-send "mew" nil t)

;; Optional setup (Read Mail menu for Emacs 21):
(if (boundp 'read-mail-command)
    (setq read-mail-command 'mew))

;; Optional setup (e.g. C-xm for sending a message):
(autoload 'mew-user-agent-compose "mew" nil t)
(if (boundp 'mail-user-agent)
    (setq mail-user-agent 'mew-user-agent))
(if (fboundp 'define-mail-user-agent)
    (define-mail-user-agent
      'mew-user-agent
      'mew-user-agent-compose
      'mew-draft-send-message
      'mew-draft-kill
      'mew-send-hook))

;;(set-default 'mew-decode-quoted t)
;;(when (boundp 'utf-translate-cjk)
;;  (setq utf-translate-cjk t)
;;  (custom-set-variables
;;   '(utf-translate-cjk t)))
;;(if (fboundp 'utf-translate-cjk-mode)
;;    (utf-translate-cjk-mode 1))
;;(require 'flyspell)
;; End of Mew config

-- 
Free as freedom, slack as Slackware.
vvoody


More information about the Mew-int mailing list