Shinichiro HIDA | 5 Dec 2004 13:31
X-Face
Favicon

Re: Forcing text to be 8-bit when sending MIME attachments?

Hi,

>>>>> In [Wanderlust English : No.00982] 
>>>>>	Lloyd Zusman <ljz <at> asfast.com> wrote:
LZ> I want to sent 8-bit characters "as is" to certain recipients.  I need
LZ> to do this in order to include Spanish characters in my text.

I think it's usefil `C-c C-x 8' for your needs.
;; cf. File: mime-ui-en.info, Node: other MIME-Edit operations

Or you could edit "hyphen*2[[text/plain]]" tag
as like "hyphen*2[[text/plain; charset=ISO-8859-1]]".

;; Sorry, I could not wrote raw "hyphen*2[[.*]]" in the mail.

LZ> However, when I insert a MIME attachement via `C-c C-x TAB', my text
LZ> gets wrapped in a 7-bit message part.

Hmm, Like this?

;; -*- coding: iso-8859-1 -*-
¡Hola!
Buenos días
¿Como está?

Así así.

¡Adios! ¡Chau! 
Hasta mañana.

LZ> Is there any way to force that text to always get sent in 8-bit format,
LZ> even when I'm inserting MIME attachments?

If the file has ".txt" suffix, "What transfer encoding:" prompt shows
up in mini-buffer when I type `C-c C-x TAB(C-i)', type 8bit or
`TAB(C-i)' for compretion.

Or, you could set the variable `mime-file-types'.
;; cf. File: mime-ui-en.info, Node: file-type specification,

LZ> Actually, this brings up a more general question: how do I reliably
LZ> force my text to always remain in 8-bit format when I send messages,
LZ> even when there are no attachments?  I have found that sometimes, my
LZ> text goes out in 7-bit format and other times as proper 8-bit
LZ> characters, and I'm not sure what controls this behavior.

;; Sorry, I am not sure about this point (too..).
Did you set `wl-mail-setup-hook'?

(add-hook 'wl-mail-setup-hook
	(lambda ()
	 (set-buffer-file-coding-system 'iso-8859-1-unix)))

;; But the mail(or the part) contains only ascii chars, the mail
;; looking like would be sent as "US-ASCII 7bit" by default.. But it
;; is standard way, isn't it? (or no need to send with 8bit I
;; think. Do you need this?).

--

-- 
  Shinichiro HIDA  mailto:shinichiro <at> stained-g.net
  GPG fingerprint = 5F2D 1656 FFF6 F691 A51C  5E61 E416 D398 470C 1CE9


Gmane