projects
/
BackupPC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Various changes for 3.0.0beta1
[BackupPC.git]
/
lib
/
BackupPC
/
FileZIO.pm
diff --git
a/lib/BackupPC/FileZIO.pm
b/lib/BackupPC/FileZIO.pm
index
ccf3dc0
..
016b513
100644
(file)
--- a/
lib/BackupPC/FileZIO.pm
+++ b/
lib/BackupPC/FileZIO.pm
@@
-29,7
+29,7
@@
#
#========================================================================
#
#
#========================================================================
#
-# Version 3.0.0beta
0, released 11
Jul 2006.
+# Version 3.0.0beta
1, released 30
Jul 2006.
#
# See http://backuppc.sourceforge.net.
#
#
# See http://backuppc.sourceforge.net.
#
@@
-248,7
+248,11
@@
sub readLine
}
}
$str = shift(@{$self->{readLineBuf}}) . "\n";
}
}
$str = shift(@{$self->{readLineBuf}}) . "\n";
- $str = decode_utf8($str) if ( $self->{utf8} );
+ if ( $self->{utf8} ) {
+ my $strUtf8 = decode_utf8($str, 0);
+ $strUtf8 = $str if ( length($strUtf8) == 0 );
+ return $strUtf8;
+ }
return $str;
}
return $str;
}