summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-16 12:36:45 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-16 12:36:45 +0000
commitdb61f33eee26b947e4e4826af057385d08594c63 (patch)
tree6a17b5f1fabacaa1628bf01b72942d5892f7585c
parent0d725d32c3793d078f50a96e7be47e647fb47fc1 (diff)
downloadsemanticscuttle-db61f33eee26b947e4e4826af057385d08594c63.tar.gz
semanticscuttle-db61f33eee26b947e4e4826af057385d08594c63.tar.bz2
Bug fix: put utf-8
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@281 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r--api/export_html.php1
-rw-r--r--header.inc.php2
2 files changed, 1 insertions, 2 deletions
diff --git a/api/export_html.php b/api/export_html.php
index 79ade0a..55553c2 100644
--- a/api/export_html.php
+++ b/api/export_html.php
@@ -22,7 +22,6 @@ $bookmarks =& $bookmarkservice->getBookmarks(0, NULL, $userservice->getCurrentUs
// Set up the XML file and output all the posts.
-header('Content-Type: text/html');
echo '<!DOCTYPE NETSCAPE-Bookmark-file-1>'."\r\n";
echo '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">';
echo '<!-- This is an automatically generated file. -->'."\r\n";
diff --git a/header.inc.php b/header.inc.php
index cae71f4..5051002 100644
--- a/header.inc.php
+++ b/header.inc.php
@@ -50,5 +50,5 @@ $tplVars['currentUser'] = $currentUser;
$tplVars['userservice'] = $userservice;
// 6 // Force UTF-8 behaviour for server (cannot be move into top.inc.php which is not included into every file)
-header('Content-Type: text/html; charset=utf-8');
+header('Content-Type: text/html; charset=utf-8');
?>