projects
/
MQR.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0c23d8
)
turn utf8 off before pushing to redis
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 29 Aug 2010 11:27:43 +0000
(13:27 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 29 Aug 2010 11:27:43 +0000
(13:27 +0200)
scripts/mqr-xmpp-client.pl
patch
|
blob
|
history
diff --git
a/scripts/mqr-xmpp-client.pl
b/scripts/mqr-xmpp-client.pl
index
3d01d51
..
ba191c2
100755
(executable)
--- a/
scripts/mqr-xmpp-client.pl
+++ b/
scripts/mqr-xmpp-client.pl
@@
-65,6
+65,7
@@
$cl->reg_cb (
warn "# contacts ",dump($contacts);
my $channel = join(' ', 'channel', $msg->from);
+ Encode::_utf8_off($body);
$pub->publish( $channel, $body );
warn "#X<< ",dump($channel, $body);