Helge Titlestad
2012-Jun-21 20:26 UTC
[sup-talk] [PATCH] detect and set charset on text/* attachments
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.
Gaute Hope
2012-Jun-22 08:48 UTC
[sup-talk] [PATCH] detect and set charset on text/* attachments
Hi, Would be interested; but where''s the patch ? ;) - Gaute Excerpts from Helge Titlestad''s message of 2012-06-21 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.
Helge Titlestad
2012-Jun-22 10:29 UTC
[sup-talk] [PATCH] detect and set charset on text/* attachments
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.