mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 20:06:18 +00:00
74_AMADDevice: Charset UTF8
git-svn-id: https://svn.fhem.de/fhem/trunk@14788 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d7c33f5e36
commit
c9f76d2d31
@ -1,5 +1,6 @@
|
||||
# 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: 74_AMADDevice: Version 4.0.1 Charset utf8
|
||||
- changed: 93_DBLog: V.2.21.3, commandref revised
|
||||
- new: 74_AMADDevice: New Version of AMAD (AMADNG) Verion 4.0
|
||||
- new: 73_AMADCommBridge: New Version of AMAD (AMADNG) Verion 4.0
|
||||
|
@ -54,7 +54,7 @@ eval "use Encode qw(encode encode_utf8);1" or $missingModul .= "Encode ";
|
||||
eval "use JSON;1" or $missingModul .= "JSON ";
|
||||
|
||||
|
||||
my $modulversion = "4.0.0";
|
||||
my $modulversion = "4.0.1";
|
||||
my $flowsetversion = "4.0.0";
|
||||
|
||||
|
||||
@ -377,6 +377,7 @@ sub AMADDevice_WriteReadings($$) {
|
||||
|
||||
$v =~ s/\bnull\b/off/g if( ($t eq "nextAlarmDay" or $t eq "nextAlarmTime") and $v eq "null" );
|
||||
$v =~ s/\bnull\b//g;
|
||||
$v = encode_utf8($v);
|
||||
|
||||
readingsBulkUpdateIfChanged($hash, $t, $v, 1) if( defined( $v ) and ($t ne 'deviceState'
|
||||
or $t ne 'incomingCallerName'
|
||||
|
Loading…
x
Reference in New Issue
Block a user