Skip to content

Commit

Permalink
SVGRenderer: Set correct input encoding
Browse files Browse the repository at this point in the history
fixes #4462

(cherry picked from commit 7b9cb7f)
  • Loading branch information
nilmerg committed Jul 26, 2021
1 parent f07283e commit c1a378c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/Icinga/Chart/SVGRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ public function render()
$this->addAriaDescription($this->svg, $this->ariaTitle, $this->ariaDescription);
$this->svg->appendChild($this->rootCanvas->toSvg($ctx));
$this->document->formatOutput = true;
$this->document->encoding = 'UTF-8';
return $this->document->saveXML();
}

Expand Down

0 comments on commit c1a378c

Please sign in to comment.