diff --git a/fhem/CHANGED b/fhem/CHANGED index fd85b88a3..33d842d71 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,7 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 93_DbRep: V8.9.10, fix warnings Malformed UTF-8 character during + importFromFile, Forum:#96056 - change: 59_Weather: add Internal MODEL for statistic - feature: 70_BRAVIA: new set command openUrl - bugfix: 59_Weather: fix change attribut model diff --git a/fhem/FHEM/93_DbRep.pm b/fhem/FHEM/93_DbRep.pm index bbe2132f5..371c11cc0 100644 --- a/fhem/FHEM/93_DbRep.pm +++ b/fhem/FHEM/93_DbRep.pm @@ -57,6 +57,7 @@ no if $] >= 5.017011, warnings => 'experimental::smartmatch'; # Versions History intern our %DbRep_vNotesIntern = ( + "8.9.10" => "18.01.2019 fix warnings Malformed UTF-8 character during importFromFile, Forum:#96056 ", "8.9.9" => "06.01.2019 diffval_DoParse: 'ORDER BY TIMESTAMP' added to statements Forum:https://forum.fhem.de/index.php/topic,53584.msg882082.html#msg882082", "8.9.8" => "27.11.2018 minor fix in deviceRename, commandref revised ", "8.9.7" => "21.11.2018 DbRep_firstconnect now uses attribute \"timeout\" ", @@ -5362,8 +5363,8 @@ sub impfile_Push($) { $infile =~ s/%TSB/$rsf/g; my @t = localtime; $infile = ResolveDateWildcards($infile, @t); - if (open(FH, "<:utf8", "$infile")) { - binmode (FH) if(!$utf8); + if (open(FH, "<", "$infile")) { + binmode (FH); } else { $err = encode_base64("could not open ".$infile.": ".$!,""); return "$name|''|''|$err|''";