mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-19 01:34:26 +00:00
Force generated pages to be UTF-8 in the headers.
This commit is contained in:
parent
b17996ba39
commit
1a3f022bce
@ -32,6 +32,8 @@ function send_page_header() {
|
|||||||
|
|
||||||
// echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">';
|
// echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">';
|
||||||
|
|
||||||
|
header( "Content-type: text/html; charset=utf-8" );
|
||||||
|
|
||||||
echo <<<EOHDR
|
echo <<<EOHDR
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user