Bug fix: put utf-8

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@281 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
mensonge 2009-02-16 12:36:45 +00:00
parent 0d725d32c3
commit db61f33eee
2 changed files with 1 additions and 2 deletions

View file

@ -22,7 +22,6 @@ $bookmarks =& $bookmarkservice->getBookmarks(0, NULL, $userservice->getCurrentUs
// Set up the XML file and output all the posts. // Set up the XML file and output all the posts.
header('Content-Type: text/html');
echo '<!DOCTYPE NETSCAPE-Bookmark-file-1>'."\r\n"; echo '<!DOCTYPE NETSCAPE-Bookmark-file-1>'."\r\n";
echo '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">'; echo '<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">';
echo '<!-- This is an automatically generated file. -->'."\r\n"; echo '<!-- This is an automatically generated file. -->'."\r\n";

View file

@ -50,5 +50,5 @@ $tplVars['currentUser'] = $currentUser;
$tplVars['userservice'] = $userservice; $tplVars['userservice'] = $userservice;
// 6 // Force UTF-8 behaviour for server (cannot be move into top.inc.php which is not included into every file) // 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');
?> ?>