Hi 

My config : Subversion 1.4.4 + Bugzilla 3.0.3 + Scmbug 0.23.4

I first faced the same problem that 
http://bugzilla.mkgnu.net/show_bug.cgi?id=580 

As a workaround, I did the same as 
http://bugzilla.mkgnu.net/show_bug.cgi?id=580#c20

Then, I had same encoding problems with email notification.
It appears that 
- Email claimed it was encoded in iso-8859-1
- Data of the email was encoded in UTF-8

After a small investigation, I just add an information in the email, to 
overwrite the default value of 'Content-Type':

/usr/share/scmbug/lib/Scmbug/Daemon/Process-ori.pm      Fri Feb 08 20:18:41 2008
/usr/share/scmbug/lib/Scmbug/Daemon/Process.pm  Mon Apr 07 17:37:39 2008
***************
*** 1165,1171 ****
      # of Mail::Sendmail
      %mail = %{ $request->{ policies }->{ mail_notification }->{ mail_settings 
} };
      %mail->{ 'X-Mailer' } = "Mail::Sendmail version $Mail::Sendmail::VERSION";
+     %mail->{'Content-Type'} = 'text/plain; charset="utf-8"';    
      %mail->{ Subject } = $subject;
      %mail->{ Message } = $message;
  
--- 1165,1170 ----

Is there a better way to fix this ? 



_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to