CVSROOT: cvslog.pl - utf8 for LINUX_2_6_20 branch

glen glen at pld-linux.org
Wed Mar 14 13:11:48 CET 2007


Author: glen                         Date: Wed Mar 14 12:11:48 2007 GMT
Module: CVSROOT                       Tag: HEAD
---- Log message:
- utf8 for LINUX_2_6_20 branch

---- Files affected:
CVSROOT:
   cvslog.pl (1.64 -> 1.65) 

---- Diffs:

================================================================
Index: CVSROOT/cvslog.pl
diff -u CVSROOT/cvslog.pl:1.64 CVSROOT/cvslog.pl:1.65
--- CVSROOT/cvslog.pl:1.64	Sun Feb 25 18:06:53 2007
+++ CVSROOT/cvslog.pl	Wed Mar 14 13:11:43 2007
@@ -194,9 +194,9 @@
 
 $htag = $tag ? $tag : "HEAD";
 
-# XXX: set this based on some kind of content charset detection
-if ($htag eq "HEAD") {
-  $mail_contenttype="text/plain; charset=utf-8";
+# TODO: set this based on some kind of content charset detection
+if ($htag eq "HEAD" || $htag =~ /^LINUX_2_6_20/) {
+  $mail_contenttype = "text/plain; charset=utf-8";
 }
 
 while (<STDIN>) {
================================================================

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



More information about the pld-cvs-commit mailing list