aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_download.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-07-29 16:32:22 +0200
committerIgor Wiedler <igor@wiedler.ch>2011-07-29 16:32:22 +0200
commit681c4a478d6eff7dbcebadca04f4afa28da750a8 (patch)
treece20076a61ed9411f5f16c9a3fbe878b6edad684 /phpBB/includes/functions_download.php
parent04c0d6461f342dcc9d5e5d12eacbf881d4833799 (diff)
downloadforums-681c4a478d6eff7dbcebadca04f4afa28da750a8.tar
forums-681c4a478d6eff7dbcebadca04f4afa28da750a8.tar.gz
forums-681c4a478d6eff7dbcebadca04f4afa28da750a8.tar.bz2
forums-681c4a478d6eff7dbcebadca04f4afa28da750a8.tar.xz
forums-681c4a478d6eff7dbcebadca04f4afa28da750a8.zip
[ticket/10258] Add HTML5 meta charset tag
This allows knowing the charset when saving web pages to disk. Also, this is supported by all browsers. PHPBB3-10258
Diffstat (limited to 'phpBB/includes/functions_download.php')
-rw-r--r--phpBB/includes/functions_download.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_download.php b/phpBB/includes/functions_download.php
index cbb79009ad..91a09608c7 100644
--- a/phpBB/includes/functions_download.php
+++ b/phpBB/includes/functions_download.php
@@ -103,6 +103,7 @@ function wrap_img_in_html($src, $title)
echo '<!DOCTYPE html>';
echo '<html>';
echo '<head>';
+ echo '<meta charset="utf-8">';
echo '<title>' . $title . '</title>';
echo '</head>';
echo '<body>';