projects
/
twirssi-net-twitter-lite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fabe4d5
)
r484 - Add binmode so that we don't break incoming UTF8 tweets
author
Dan Boger
<zigdon@irc.peeron.com>
Sat, 21 Feb 2009 21:53:54 +0000
(13:53 -0800)
committer
Dan Boger
<zigdon@irc.peeron.com>
Sat, 21 Feb 2009 21:53:54 +0000
(13:53 -0800)
twirssi.pl
patch
|
blob
|
history
diff --git
a/twirssi.pl
b/twirssi.pl
index b5cfb2b52c52f9fd263c203f87eed70fc0917c00..0d4cb26751b00588a171562dd3a620ab24e8d788 100644
(file)
--- a/
twirssi.pl
+++ b/
twirssi.pl
@@
-12,7
+12,7
@@
$Data::Dumper::Indent = 1;
use vars qw($VERSION %IRSSI);
$VERSION = "2.0.6";
use vars qw($VERSION %IRSSI);
$VERSION = "2.0.6";
-my ($REV) = '$Rev: 48
3
$' =~ /(\d+)/;
+my ($REV) = '$Rev: 48
4
$' =~ /(\d+)/;
%IRSSI = (
authors => 'Dan Boger',
contact => 'zigdon@gmail.com',
%IRSSI = (
authors => 'Dan Boger',
contact => 'zigdon@gmail.com',
@@
-21,7
+21,7
@@
my ($REV) = '$Rev: 483 $' =~ /(\d+)/;
. 'Can optionally set your bitlbee /away message to same',
license => 'GNU GPL v2',
url => 'http://twirssi.com',
. 'Can optionally set your bitlbee /away message to same',
license => 'GNU GPL v2',
url => 'http://twirssi.com',
- changed => '$Date: 2009-02-2
0 14:37:28 -0800 (Fri, 20
Feb 2009) $',
+ changed => '$Date: 2009-02-2
1 13:53:25 -0800 (Sat, 21
Feb 2009) $',
);
my $window;
);
my $window;
@@
-634,6
+634,7
@@
sub get_updates {
return unless &logged_in($twit);
my ( $fh, $filename ) = File::Temp::tempfile();
return unless &logged_in($twit);
my ( $fh, $filename ) = File::Temp::tempfile();
+ binmode($fh, ":utf8");
my $pid = fork();
if ($pid) { # parent
my $pid = fork();
if ($pid) { # parent