CVSROOT: cvslog.pl - utf8 for head

arekm arekm at pld-linux.org
Mon Feb 12 09:05:47 CET 2007


Author: arekm                        Date: Mon Feb 12 08:05:47 2007 GMT
Module: CVSROOT                       Tag: HEAD
---- Log message:
- utf8 for head

---- Files affected:
CVSROOT:
   cvslog.pl (1.61 -> 1.62) 

---- Diffs:

================================================================
Index: CVSROOT/cvslog.pl
diff -u CVSROOT/cvslog.pl:1.61 CVSROOT/cvslog.pl:1.62
--- CVSROOT/cvslog.pl:1.61	Wed May 18 17:10:19 2005
+++ CVSROOT/cvslog.pl	Mon Feb 12 09:05:42 2007
@@ -194,6 +194,11 @@
 
 $htag = $tag ? $tag : "HEAD";
 
+# XXX: set this based on some kind of content charset detection
+if ($htag == "HEAD") {
+  $mail_contenttype="text/plain; charset=utf-8";
+}
+
 while (<STDIN>) {
   $logmsg .= $_;
 }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/CVSROOT/cvslog.pl?r1=1.61&r2=1.62&f=u



More information about the pld-cvs-commit mailing list