For your information, I found something similar about commit-email.pl, the Perl Script shipped with Subversion.
See changes and commit log messages here : http://svn.collab.net/viewvc/svn/trunk/tools/hook-scripts/commit-email.pl.in?r1=2505&r2=2629 About the attached patch, I did not test it ... Is it at least the kind of thing you are expecting ? Regards By the way, Scmbug is not the only product with encoding. Here what I see when I want to edit my options about scmbug-users mailing list: >> >>scmbug-users mailing list membership configuration for j.haguet at >>cadwin.com, Jérôme Haguet >> Maybe, I should blame - or even suit - my parents ... -----Message d'origine----- De : Jérôme Haguet Envoyé : lundi 7 avril 2008 17:55 À : '[email protected]' Objet : About encoding problem in mail notification 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 ?
patch.diff
Description: patch.diff
_______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
