diff --git a/index.php b/index.php index 906c785e..152d2a7f 100644 --- a/index.php +++ b/index.php @@ -138,7 +138,7 @@ if ($format == 'txt') { $license = array_shift(explode('', array_pop(explode('
', $license)))); $license = preg_replace('/<[^>]*>/', '', trim($license)); - $license = html_entity_decode($license); + $license = html_entity_decode($license, ENT_COMPAT | ENT_HTML401, 'UTF-8'); header('content-type: text/plain; charset=UTF-8'); }