set content-type header manually to utf-8

This commit is contained in:
Andrew Dolgov 2008-11-14 13:04:37 +01:00
parent 889ec95a96
commit 03208748b6
2 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,9 @@
$dt_add = get_script_dt_add(); $dt_add = get_script_dt_add();
no_cache_incantation(); no_cache_incantation();
header('Content-Type: text/html; charset=utf-8');
?> ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

View File

@ -16,6 +16,8 @@
no_cache_incantation(); no_cache_incantation();
header('Content-Type: text/html; charset=utf-8');
?> ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">