]> mj.ucw.cz Git - libucw.git/commitdiff
GIT uses mutt's default value of allow_8bit when sending a mail
authorPavel Charvat <pavel.charvat@netcentrum.cz>
Sat, 25 Mar 2006 22:02:50 +0000 (23:02 +0100)
committerPavel Charvat <pavel.charvat@netcentrum.cz>
Sat, 25 Mar 2006 22:02:50 +0000 (23:02 +0100)
and prefers ascii/iso-8859-2 charsets if possible.

build/git/hooks/update

index 856d415b93ea0b16199a4f28ea96b73354c22cab..881621f01cbd2b2ec019a37b8e058f7755a19810 100755 (executable)
@@ -53,6 +53,6 @@ else
 fi 
 
 exec >&2
 fi 
 
 exec >&2
-mutt -x -e 'set charset="utf-8"; set allow_8bit=no; set send_charset="utf-8"' -s "$subj" "$recipient" <$out
+mutt -x -e 'set charset="utf-8"; set send_charset="us-ascii:iso-8859-2:utf-8"' -s "$subj" "$recipient" <$out
 rm $out
 exit 0
 rm $out
 exit 0