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:
parent
ea8b9d046d
commit
1b9b4587e8
@ -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 = "";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user