From: <tim...@us...> - 2010-10-27 15:34:17
|
Revision: 4114 http://web-erp.svn.sourceforge.net/web-erp/?rev=4114&view=rev Author: tim_schofield Date: 2010-10-27 15:34:11 +0000 (Wed, 27 Oct 2010) Log Message: ----------- Correct for non ascii characters Modified Paths: -------------- trunk/doc/Change.log.html trunk/includes/header.inc Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-10-27 13:12:20 UTC (rev 4113) +++ trunk/doc/Change.log.html 2010-10-27 15:34:11 UTC (rev 4114) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> +<p>27/10/10 Tim: header.inc - Correct for non ascii characters</p> <p>27/10/10 Tim: Corrections to display multi line invoice narratives correctly</p> <p>26/10/10 Tim: Discountmatrix.php - Fix discount category bug</p> <p>26/10/10 Tim: Discountmatrix.php - Increase the number of decimal places that can be entered</p> Modified: trunk/includes/header.inc =================================================================== --- trunk/includes/header.inc 2010-10-27 13:12:20 UTC (rev 4113) +++ trunk/includes/header.inc 2010-10-27 15:34:11 UTC (rev 4114) @@ -10,9 +10,9 @@ if (!headers_sent()){ if ($StrictXHTML) { - header('Content-type: application/xhtml+xml; charset=utf8'); + header('Content-type: application/xhtml+xml; charset=utf-8'); } else { - header('Content-type: text/html; charset=utf8'); + header('Content-type: text/html; charset=utf-8'); } } echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" @@ -23,9 +23,9 @@ echo '<link rel="shortcut icon" href="'. $rootpath.'/favicon.ico" />'; echo '<link rel="icon" href="' . $rootpath.'/favicon.ico" />'; if ($StrictXHTML) { - echo '<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf8" />'; + echo '<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />'; } else { - echo '<meta http-equiv="Content-Type" content="application/html; charset=utf8" />'; + echo '<meta http-equiv="Content-Type" content="application/html; charset=utf-8" />'; } echo '<link href="' . $rootpath . '/css/'. $_SESSION['Theme'] .'/default.css" rel="stylesheet" type="text/css" />'; echo '<script type="text/javascript" src = "'.$rootpath.'/javascripts/MiscFunctions.js"></script>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |