2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-23 08:36:24 +00:00

YAMAHA_AVR: use better html replacement settings

git-svn-id: https://svn.fhem.de/fhem/trunk@10156 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2015-12-12 11:14:10 +00:00
parent 7aaf0572e9
commit 37f567d80a

View File

@ -1,4 +1,4 @@
# $Id$
# $Id$
##############################################################################
#
# 71_YAMAHA_AVR.pm
@ -1897,13 +1897,13 @@ sub YAMAHA_AVR_html2txt($)
$string = decode('UTF-8', $string);
$string =~ s/ä/ä/g;
$string =~ s/Ä/Ä/g;
$string =~ s/ö/ö/g;
$string =~ s/Ö/Ö/g;
$string =~ s/ü/ü/g;
$string =~ s/Ü/Ü/g;
$string =~ s/ß/ß/g;
$string =~ s/(\xe4|ä)/\xc3\xa4/g;
$string =~ s/(\xc4|Ä)/\xc3\x84/g;
$string =~ s/(\xf6|ö)/\xc3\xb6/g;
$string =~ s/(\xd6|Ö)/\xc3\x96/g;
$string =~ s/(\xfc|ü)/\xc3\xbc/g;
$string =~ s/(\xdc|Ü)/\xc3\x9c/g;
$string =~ s/(\xdf|ß)/\xc3\x9f/g;
$string =~ s/<[^>]+>//g;