X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FMisc.pm;h=93445abde3f90625562be6f16761aa3e59b30d8b;hb=e293cc921e2382964cc9caba186d828a6646f84d;hp=c598507cc998e3c424f4b9546233118912f0f628;hpb=4c11454b932bb5cc58ad6405949c815beebc3278;p=freeside.git diff --git a/FS/FS/Misc.pm b/FS/FS/Misc.pm index c598507cc..93445abde 100644 --- a/FS/FS/Misc.pm +++ b/FS/FS/Misc.pm @@ -154,6 +154,7 @@ sub send_email { unshift @mimeparts, { 'Type' => ( $options{'content-type'} || 'text/plain' ), + 'Charset' => 'UTF-8', 'Data' => $options{'body'}, 'Encoding' => ( $options{'content-type'} ? '-SUGGEST' : '7bit' ), 'Disposition' => 'inline', @@ -165,6 +166,7 @@ sub send_email { 'Type' => ( $options{'content-type'} || 'text/plain' ), 'Data' => $options{'body'}, 'Encoding' => ( $options{'content-type'} ? '-SUGGEST' : '7bit' ), + 'Charset' => 'UTF-8', ); } @@ -363,6 +365,7 @@ sub generate_email { $alternative->attach( 'Type' => 'text/plain', 'Encoding' => 'quoted-printable', + 'Charset' => 'UTF-8', #'Encoding' => '7bit', 'Data' => $data, 'Disposition' => 'inline',