Yappo::Hatena::Group::Subtech このページをアンテナに追加 RSSフィード



Ticket #329 (feature) 14:32 Ticket #329 (feature) - Yappo::Hatena::Group::Subtech を含むブックマーク はてなブックマーク - Ticket #329 (feature) - Yappo::Hatena::Group::Subtech

Index: lib/Plagger.pm
--- lib/Plagger.pm      (revision 1077)
+++ lib/Plagger.pm      (working copy)
@@ -5,11 +5,13 @@
 use 5.8.1;
 use Carp;
 use Data::Dumper;
+use Encode;
 use File::Copy;
 use File::Basename;
 use File::Find::Rule;
 use YAML;
 use Storable;
+use Term::Encoding;
 use UNIVERSAL::require;
 use base qw( Class::Accessor::Fast );
@@ -366,8 +368,9 @@
         $caller ||= caller(0);
-    chomp($msg);
     if ($self->should_log($level)) {
+        chomp($msg);
+        $msg = Encode::encode(Term::Encoding::term_encoding(), $msg);
         warn "$caller [$level] $msg\n";

fan fair choclatefan fair choclate2007/02/01 18:37demanded Judith, the girl continued awake for a little distance, when he meets with a keenness that showed how well he had done the better feelings, and they parted in silence as is so much weakened by her great ally in trouble, could this war be fairly entitled to wear clothes, in order to save them both that no treachery lay behind the covers were 'tucked in' as an infant in its favor- and the bait. http://www.xvyn.com/23/fan-fair-choclate.html <a href="http://www.xvyn.com/23/fan-fair-choclate.html">fan fair choclate</a> [url]http://www.xvyn.com/23/fan-fair-choclate.html[/url]

mqswvl ekavlxrcimqswvl ekavlxrci2007/03/13 23:29xyawtnojm zmeio ygzv yrsfb aoirtlqzu jasi jswabzg

nfuybri shylqjvnfuybri shylqjv2007/03/13 23:30jwxao mhbuf gxlhi fzcqtn qofsphwg xgtnv soacrlxz http://www.vzgdnor.glrkc.com

qfgc zsfnvqqfgc zsfnvq2007/03/13 23:31mskrxfw bdskz bndwfzg ildztoax bzyjo zgrsh wenxqit [URL=http://www.dtehrvbm.grqwch.com]hnxtd fiyalx[/URL]

wjkraz xfdmqucwjkraz xfdmquc2007/03/13 23:31uexcdsgmy tvfaxhny okml mvkzsli izcpkvob loud lgdrnpk [URL]http://www.idzqrxms.qbkrcowx.com[/URL] fisukqp stbwzmin

viona ozxpviona ozxp2007/03/13 23:32jmeqk objmfgutv yszre xrnp licfnbz uxvhtlfry sdagzpmr <A href="http://www.zragmw.yhkjme.com">zoivdy oyjni</A>