Changeset 827:08dd55cf4de1 for attach.c

Show
Ignore:
Timestamp:
1999-02-02 07:47:44 (10 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

Merging the external character set patch into unstable.
Additionally, this change introduces a M_CHARCONV state flag which
gives us some more control about when character set conversions are
actually done. Current versions of mutt would happily apply
character set conversions when, e.g., saving a text/plain attachment
to a file. (We had at least one corrupt russing translation file
due to this mis-feature.)

Additionally, we clean up some of the character set related code in
handler.c. Most of that is now done by the decoder functions in
charset.c.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • attach.c

    r708 r827  
    769769 
    770770  memset (&s, 0, sizeof (s)); 
    771   s.flags = displaying ? M_DISPLAY : 0; 
     771  s.flags = M_CHARCONV | (displaying ? M_DISPLAY : 0); 
    772772 
    773773  if (flags == M_SAVE_APPEND)