2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 16:05:19 +00:00

98_SVG.pm: allow Umlaut in plotAsPng (Forum #129693)

git-svn-id: https://svn.fhem.de/fhem/trunk@26538 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-10-15 10:43:30 +00:00
parent d8b95ee03d
commit adf7883702

View File

@ -2526,6 +2526,7 @@ plotAsPng(@)
# Forum #32791,#116138: some lib versions cannot parse complex CSS selectors
$svgdata =~ s/\.SVGplot\./\./g if(AttrVal($svgName, "plotAsPngFix", 0));
$svgdata = Encode::decode('UTF-8', $buf)
eval {
require Image::LibRSVG;