Re: [DOC-WEB] cvs: docweb /cron/monthly howto /include lib_general.inc.php
[email protected] ("Nuno Lopes")
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <007b01c5007f$028d52f0$0100a8c0@pc07653> |
> 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