2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

fhem.pl: global encoding utf8 changed to bytestream (Forum #126088)

git-svn-id: https://svn.fhem.de/fhem/trunk@25684 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-02-15 08:34:42 +00:00
parent ea8b9d046d
commit 1b9b4587e8

View File

@ -339,7 +339,7 @@ my @globalAttrList = qw(
dnsServer
dupTimeout
exclude_from_update
encoding:utf8,unicode
encoding:bytestream,unicode
hideExcludedUpdates:1,0
featurelevel:6.1,6.0,5.9,5.8,5.7,5.6,5.5,99.99
genericDisplayType:switch,outlet,light,blind,speaker,thermostat
@ -2902,8 +2902,8 @@ GlobalAttr($$$$)
}
if($name eq "encoding") { # Should be called from fhem.cfg/configDB
return "bad encoding parameter $val, good values are utf8 or unicode"
if($val ne "unicode" && $val ne "utf8");
return "bad encoding parameter $val, good values are bytestream or unicode"
if($val ne "unicode" && $val ne "bytestream");
$unicodeEncoding = ($val eq "unicode");
$currlogfile = "";
}