Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwbeaton2007-07-16 19:36:24 +0000
committerwbeaton2007-07-16 19:36:24 +0000
commit32104b0780a7ce0ab2e427bc09bdc950b2c70518 (patch)
treefb4d30938846a24a1886318de15092eb54621c64 /article.php
parent0458bedf7d3814cd35e4caaa0d17c883b5ded5fb (diff)
downloadarticles-32104b0780a7ce0ab2e427bc09bdc950b2c70518.tar.gz
articles-32104b0780a7ce0ab2e427bc09bdc950b2c70518.tar.xz
articles-32104b0780a7ce0ab2e427bc09bdc950b2c70518.zip
NEW - bug 190698: [Translated Article] "Graphics Context - Quick on the draw" Chinese version
https://bugs.eclipse.org/bugs/show_bug.cgi?id=190698
Diffstat (limited to 'article.php')
-rw-r--r--article.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/article.php b/article.php
index 81ea6f4..680495c 100644
--- a/article.php
+++ b/article.php
@@ -34,6 +34,9 @@
# End: page-specific settings
#
$App->ExtraHtmlHeaders = "<link rel=\"stylesheet\" type=\"text/css\" href=\"layout.css\" media=\"screen\" />\n<base href=\"http://$host/articles/$file\"/>\n";
+
+ $charset = $App->getHTTPParameter('charset');
+ if ($charset) header("Content-Type: text/html; charset=$charset");
ob_start();
?>

Back to the top