cvs: docweb /cron/monthly howto /include lib_general.inc.php
| From: | Nuno Lopes | Date: | Fri, 21 Jan 2005 16:32:04 +0000 |
| Subject: | cvs: docweb /cron/monthly howto /include lib_general.inc.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-506@lists.php.net to get a copy of this message | ||
nlopess Fri Jan 21 11:32:04 2005 EDT
Added files:
/docweb/cron/monthly howto
Modified files:
/docweb/include lib_general.inc.php
Log:
first release of the howto cron job
I've switched to UTF-8, otherwise Gabor's name isn't renderered correctly :)
anyway the switch was going to be needed...
http://cvs.php.net/diff.php/docweb/include/lib_general.inc.php?r1=1.32&r2=1.33&ty=u
Index: docweb/include/lib_general.inc.php
diff -u docweb/include/lib_general.inc.php:1.32 docweb/include/lib_general.inc.php:1.33
--- docweb/include/lib_general.inc.php:1.32 Thu Jan 20 17:29:47 2005
+++ docweb/include/lib_general.inc.php Fri Jan 21 11:32:03 2005
@@ -18,7 +18,7 @@
| Gabor Hojtsy <goba@php.net> |
| Sean Coates <sean@php.net> |
+----------------------------------------------------------------------+
-$Id: lib_general.inc.php,v 1.32 2005/01/20 22:29:47 nlopess Exp $
+$Id: lib_general.inc.php,v 1.33 2005/01/21 16:32:03 nlopess Exp $
*/
function is_translation($project, $language)
@@ -41,7 +41,7 @@
{
define('IN_HEAD', true);
$lang = 'en'; //LANGC;
- $encoding = "iso-8859-1"; // for now
+ $encoding = 'UTF-8';
$page_title = ($title ? $GLOBALS['Language']->get($title) . ' - ' :
'') . $GLOBALS['Language']->get('docweb.common.title.default');
$page_h1 = ($title ? $GLOBALS['Language']->get($title) :
$GLOBALS['Language']->get('docweb.common.title.default'));