<<< Date Index >>>     <<< Thread Index >>>

Re: utf8 file corruption after transmission over email



Hi,

* Jussi Peltola wrote:
> On Fri, May 08, 2009 at 06:23:15PM -0700, zion wrote:

> > if LC_CTYPE is unset, file doesn't get corrupted.

In that case, what does ':set ?charset' in mutt report?

> I think mutt is reading your file, assuming it's KOI8-R as stated in
> your locale, and converting it to UTF-8 for sending.
> 
> It has to do that; plain text won't tell it what charset it's in and it
> has to guess.

Yes. If mutt is recent enough, $attach_charset can help (it specifies
the charsets to use for guessing for text media type attachments).

Rocco