Browse Source

Cleanup: replaced remaining occurences of ISO-8859-1

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@966 a333f486-631f-4898-b8df-5754b55c2be0
romainq 14 years ago
parent
commit
1947e50056
3 changed files with 3 additions and 3 deletions
  1. 1 1
      application/csvpage.class.inc.php
  2. 1 1
      core/archive.class.inc.php
  3. 1 1
      pages/opensearch.xml.php

+ 1 - 1
application/csvpage.class.inc.php

@@ -31,7 +31,7 @@ class CSVPage extends WebPage
     function __construct($s_title)
     function __construct($s_title)
     {
     {
         parent::__construct($s_title);
         parent::__construct($s_title);
-		$this->add_header("Content-type: text/html; charset=iso-8859-1");
+		$this->add_header("Content-type: text/html; charset=utf-8");
 		$this->add_header("Cache-control: no-cache");
 		$this->add_header("Cache-control: no-cache");
     }	
     }	
 
 

+ 1 - 1
core/archive.class.inc.php

@@ -142,7 +142,7 @@ class iTopArchive
 	
 	
 	public function WriteCatalog()
 	public function WriteCatalog()
 	{
 	{
-		$sXml  = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">\n"; // split the XML closing tag that disturbs PSPad's syntax coloring
+		$sXml  = "<?xml version=\"1.0\" encoding=\"utf-8\"?".">\n"; // split the XML closing tag that disturbs PSPad's syntax coloring
 		$sXml .= "<archive version=\"1.0\">\n";
 		$sXml .= "<archive version=\"1.0\">\n";
 		$sXml .= "<title>{$this->m_sTitle}</title>\n";
 		$sXml .= "<title>{$this->m_sTitle}</title>\n";
 		$sXml .= "<description>{$this->m_sDescription}</description>\n";
 		$sXml .= "<description>{$this->m_sDescription}</description>\n";

+ 1 - 1
pages/opensearch.xml.php

@@ -32,7 +32,7 @@
 <ShortName>iTop</ShortName>
 <ShortName>iTop</ShortName>
 <Contact>webmaster@itop.com</Contact>
 <Contact>webmaster@itop.com</Contact>
 <Description>Search in iTop</Description>
 <Description>Search in iTop</Description>
-<InputEncoding>ISO-8859-1</InputEncoding>
+<InputEncoding>UTF-8</InputEncoding>
 <Url type="text/html" method="get" template="<?php echo $sFullUrl;?>?text={searchTerms}&amp;operation=full_text"/>
 <Url type="text/html" method="get" template="<?php echo $sFullUrl;?>?text={searchTerms}&amp;operation=full_text"/>
 <moz:SearchForm><?php echo $sFullUrl;?></moz:SearchForm>
 <moz:SearchForm><?php echo $sFullUrl;?></moz:SearchForm>
 <Image height="16" width="16" type="image/x-icon"><?php echo $sICOFullUrl;?></Image>
 <Image height="16" width="16" type="image/x-icon"><?php echo $sICOFullUrl;?></Image>