to answer to SHS,
phpBB3 CVS works just fine in Unicode (I've tested UTF-7, UTF-8, UTF-16/UCS2, UTF-32/UCS4) on either PHP5.x or PHP6-dev, though it does require more entensions to be enabled (mbstring in PHP5, ICU in PHP6) which in most cases are off.
It's not reasonable to expect people to use PHP5, and PHP6. A big majority of hostings only support PHP4. And I think that people don't want to make the move to PHP5 because backward compatibility with PHP4 is somehow broken and thus some scripts may won't work any more.
Anyway , did you realize that Joomla 1.5 announce a full utf-8 support while using PHP 4.3 as a minimal requirement ?
the actual issue was the platform (PHP). mbstring doesn't actually work that well, not to mention the fact it's a rather esoteric extension to have enabled
Despite this issue, Joomla's devellopper still found a way fully suport utf8 with old PHP versions. There's an interesting article about this: implementation of UTF-8 in Joomla! 1.5
In short from the article:
The problem lies with the fact that until PHP 6 is released, there is no comprehensive native UTF-8 support in PHP. There is a multi-byte extension named ‘mbstring’ which exists from version 4.1 but it is not loaded by default. [...]
Here again, the core team decided to vote for full backward compatibility and for the solution to be transparent to the user. The solution is a combination of either using PHP provided functions, if they are present, or using a special library of UTF-8 aware string functions, if no PHP native functions are available. This provides the best performance (PHP functions available) together will complete backward compatibility. A Joomla String Class provides this functionality and it will be included in the API for third party developers.
Maybe phpbb developpers could re-use this "Joomla String Class" , or get in touch with Joomla's devellopers.
I also know an other script that fully support utf8. It is Coppermine Gallery
What I've understood is that they use mb_ functions instead of regular ones.
If the mbstring extension is not available, then mb_ functions are emulated. This doesn't seem very complicated when I take a look in their code (file mb.inc.php in their distibution)
Now to answer to smithy_dll:
Code: Select all
If you had bothered to read the post you'd realise it was anything by a selfish decision. It was a technical decision and was backed up by fact.
Sorry if I was a bit provocative. But the lack of utf-8 support in phpbb , while this one available in sophisticated scripts like Joomla and Coppermine just made me upset. Also the requirement of PHP5 for utf8 suport doesn't satisfy me, and I guess it won't satisfy many people.