[Slashdotjp-dev 710] [217] Fix warning: Wide character in print at plugins/Admin/admin.pl

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
2007年 10月 24日 (水) 18:51:54 JST


Revision: 217
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=217
Author:   tach
Date:     2007-10-24 18:51:53 +0900 (Wed, 24 Oct 2007)

Log Message:
-----------
Fix warning: Wide character in print at plugins/Admin/admin.pl

Modified Paths:
--------------
    slashjp/trunk/debian/changelog
    slashjp/trunk/plugins/Admin/admin.pl


-------------- next part --------------
Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2007-10-24 09:25:55 UTC (rev 216)
+++ slashjp/trunk/debian/changelog	2007-10-24 09:51:53 UTC (rev 217)
@@ -9,8 +9,9 @@
   * Fix: password notification email send fail: plugins/Messages/Messages.pm
   * Fix: remove filter failed: plugins/Admin/admin.pl
   * Typo fix at Slash/LDAPDB/lib/Slash/LDAPDB.pm
+  * Fix warning: Wide character in print at plugins/Admin/admin.pl
 
- -- Taku YASUI <tach****@osdn*****>  Wed, 24 Oct 2007 18:25:21 +0900
+ -- Taku YASUI <tach****@osdn*****>  Wed, 24 Oct 2007 18:50:39 +0900
 
 slash (2.5.0.119-17) unstable; urgency=low
 

Modified: slashjp/trunk/plugins/Admin/admin.pl
===================================================================
--- slashjp/trunk/plugins/Admin/admin.pl	2007-10-24 09:25:55 UTC (rev 216)
+++ slashjp/trunk/plugins/Admin/admin.pl	2007-10-24 09:51:53 UTC (rev 217)
@@ -1776,6 +1776,7 @@
 sub write_to_temp_file {
 	my($data) = @_;
 	my($fh, $file) = tempfile();
+	binmode $fh, ':utf8';
 	print $fh $data;
 	close $fh;
 	return $file;


Slashdotjp-dev メーリングリストの案内
Zurück zum Archiv-Index