utf-8 fix

This commit is contained in:
Chris Graham 2015-03-30 19:05:31 +01:00
parent b864f42a61
commit 766667ada1

View File

@ -27,7 +27,7 @@ class XLSX implements EscaperInterface
public function escape($string) public function escape($string)
{ {
$escapedString = $this->escapeControlCharacters($string); $escapedString = $this->escapeControlCharacters($string);
$escapedString = htmlspecialchars($escapedString, ENT_QUOTES, 'utf-8'); $escapedString = htmlspecialchars($escapedString, ENT_QUOTES);
return $escapedString; return $escapedString;
} }