70_LaMetric2: fix some UTF8 stuff
git-svn-id: https://svn.fhem.de/fhem/trunk@17987 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -354,9 +354,11 @@ sub LaMetric2_Set($@) {
|
||||
&& keys %{ $hash->{helper}{cancelIDs} } > 0 );
|
||||
|
||||
$usage .= " input:,";
|
||||
$usage .= join( ',',
|
||||
map $hash->{helper}{inputs}{$_}{name},
|
||||
sort keys %{ $hash->{helper}{inputs} } )
|
||||
$usage .= encode_utf8(
|
||||
join( ',',
|
||||
map $hash->{helper}{inputs}{$_}{name},
|
||||
sort keys %{ $hash->{helper}{inputs} } )
|
||||
)
|
||||
if ( defined( $hash->{helper}{inputs} )
|
||||
&& keys %{ $hash->{helper}{inputs} } > 0 );
|
||||
|
||||
@@ -1999,7 +2001,7 @@ sub LaMetric2_SetNotification {
|
||||
(
|
||||
{
|
||||
icon => $ico,
|
||||
text => $line,
|
||||
text => decode_utf8($line),
|
||||
index => $index++,
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user