From eea2522e856df0c590622cd32c86cb7513c48d34 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Sat, 5 Mar 2011 12:56:20 +0100 Subject: [PATCH] prepared the class HTMLWrapper for usage with AJAX --- bibtexbrowser.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bibtexbrowser.php b/bibtexbrowser.php index efaa318..4a006f3 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -2488,6 +2488,9 @@ class HTMLWrapper { */ function HTMLWrapper(&$content,$metatags=array()/* an array name=>value*/) { +// when we load a page with AJAX +// the HTTP header is taken into account, not the +header('Content-type: text/html; charset='.ENCODING); echo ''."\n"; ?>