[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Request For Review: commit-email.pl utf-8 support

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-07-20 01:57:18 CEST

Does anyone know, would this patch to commit-email.pl do the Right
Thing?

-K

* tools/hook-scripts/commit-email.pl: Set UTF-8 charset and 8bit
  transfer encoding on the outgoing mail.

Index: ./tools/hook-scripts/commit-email.pl
===================================================================
--- ./tools/hook-scripts/commit-email.pl
+++ ./tools/hook-scripts/commit-email.pl Fri Jul 19 19:29:51 2002
@@ -363,6 +363,8 @@
     push(@head, "From: $mail_from\n");
     push(@head, "Subject: $subject\n");
     push(@head, "Reply-to: $reply_to\n") if $reply_to;
+ push(@head, "Content-Type: text/plain; charset=UTF-8\n");
+ push(@head, "Content-Transfer-Encoding: 8bit\n");
     push(@head, "\n");
 
     if ($sendmail =~ /\w/ and @email_addresses)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 20 02:09:40 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.