mirror of
https://github.com/samsonjs/mit-license.git
synced 2026-04-06 11:25:46 +00:00
sent utf-8 with content type to allow for unicode characters in plain text version
This commit is contained in:
parent
5fa4d32f4a
commit
fc5ed8f7fc
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@
|
|||
$license = array_shift(explode('</article>', array_pop(explode('<article>', $license))));
|
||||
$license = preg_replace('/<[^>]*>/', '', trim($license));
|
||||
$license = html_entity_decode($license);
|
||||
header('content-type: text/plain');
|
||||
header('content-type: text/plain; charset=UTF-8');
|
||||
}
|
||||
|
||||
echo $license;
|
||||
|
|
|
|||
Loading…
Reference in a new issue