]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Interface Fix: improve utf-8 behaviour
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Thu, 22 Jan 2009 15:45:32 +0000 (15:45 +0000)
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Thu, 22 Jan 2009 15:45:32 +0000 (15:45 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@240 b3834d28-1941-0410-a4f8-b48e95affb8f

ajax/getlinkedtags.php
ajax/gettags.php
header.inc.php

index 4a3543fe783be897f6a11d04370c9b1670f8a502..c4110a21cd432ee109a54e6612019691c19a164d 100644 (file)
@@ -19,8 +19,6 @@
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  ***************************************************************************/
 
-header('Content-Type: text/html; charset=utf-8'); 
-
 /* Return a json file with list of linked tags */
 
 require_once('../header.inc.php');
index b924ac3198f1143bfba74e8f19e91fa1969525b5..7b8b33a46d051678c43b636255f8e6559e2ea019 100644 (file)
@@ -19,8 +19,6 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 ***************************************************************************/
 
-header('Content-Type: text/html; charset=utf-8'); 
-
 /* Return a json file with list of tags according to current user and sort by popularity*/
 
 require_once('../header.inc.php');
index 87952f6225d4e46f15f160087cbec1e1b1934036..cae71f4a4ea9bdac5d8e92832e097c192c4a2d02 100644 (file)
@@ -48,4 +48,7 @@ $templateservice =& ServiceFactory::getServiceInstance('TemplateService');
 $tplVars = array();
 $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'); 
 ?>