OSDN Git Service
(root)
/
mubot4fb
/
mubot4fb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
262f909
)
fix utf-8 flag handling
author
ISHIKAWA Mutsumi
<ishikawa@hanzubon.jp>
Thu, 18 Oct 2012 06:27:55 +0000
(15:27 +0900)
committer
ISHIKAWA Mutsumi
<ishikawa@hanzubon.jp>
Thu, 18 Oct 2012 06:27:55 +0000
(15:27 +0900)
mubot4fb.pl
patch
|
blob
|
history
diff --git
a/mubot4fb.pl
b/mubot4fb.pl
index
0facb44
..
a0a141b
100755
(executable)
--- a/
mubot4fb.pl
+++ b/
mubot4fb.pl
@@
-159,7
+159,7
@@
sub _fb_delete {
sub _format_submit {
my ($me, $e) = @_;
- return
decode('utf8', $e->{submitter}).'が『'.decode('utf8', $e->{prefix}).' '.decode('utf8', $e->{uri}).' '.decode('utf8', $e->{suffix})
.'』と'.strftime('%Y-%m-%d %H:%M:%S', localtime($e->{post_time}));
+ return
$e->{submitter}.'が『'.$e->{prefix}.' '.$e->{uri}.' '.$e->{suffix}
.'』と'.strftime('%Y-%m-%d %H:%M:%S', localtime($e->{post_time}));
}
sub _response {