Re: cvs: docweb /cron/monthly howto /include lib_general.inc.php

From: Date: Sat, 22 Jan 2005 12:36:34 +0000
Subject: Re: cvs: docweb /cron/monthly howto /include lib_general.inc.php
References: 1 2  Groups: php.doc.web 
Request: Send a blank email to doc-web+get-527@lists.php.net to get a copy of this message
On Friday 21 January 2005 17:32, Nuno Lopes wrote:
I've switched to UTF-8, otherwise Gabor's name isn't renderered correctly :) anyway the switch was going to be needed...
-    $encoding   = "iso-8859-1"; // for now
+    $encoding   = 'UTF-8';
I'm afraid this actually broke the french docweb text.
Yep, I know...
We could use the docweb/main.ent file for this, each translation could add an entity that will override the default value, making there translated site work. UTF-8 only seems to be required for a few languages
My idea is to use iconv() and output always in UTF-8. Its simpler and you will be sure that won't be any problems with mixed encodings. I pretend to implement that next week. Nuno

« previous php.doc.web (#527) next »