mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
93_DbRep: V8.9.10, fix warnings Malformed UTF-8 character during importFromFile, Forum:#96056
git-svn-id: https://svn.fhem.de/fhem/trunk@18327 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8fbcd7a92d
commit
039f9ef6fe
@ -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
|
||||
|
@ -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|''";
|
||||
|
Loading…
x
Reference in New Issue
Block a user