Subject: Re: [sup-talk] [PATCH] detect and set charset on text/* attachments

From: Helge Titlestad <[email-masked]>
Date: Fri, 22 Jun 2012 12:29:21 +0200

Excerpts from Gaute Hope's message of Fri Jun 22 10:48:41 +0200 2012:
> Would be interested; but where's the patch ? ;)

Hah, sorry guys. Someone tried to send an email from my sup last night[1],
and managed to re-send this oooold mail instead. I think the utf-8 stuff
was fixed a long time ago. (=

-- 
alge
[1]: Yeah, alcohol was involved. 
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Helge Titlestad <[email-masked]>
Date: Thu, 21 Jun 2012 22:26:19 +0200

I got some feedback from non-suppers that my utf-8 text attachments were
messed up. When I checked they (the MIME headers) lacked any info on charset,
which I believe should be set for text/*.

Here's a patch that uses the chardet gem to (try to) detect the appropriate charset
and sets it in the Content-Type header.
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Gaute Hope <[email-masked]>
Date: Fri, 22 Jun 2012 10:48:41 +0200

Hi,

- Gaute