Forums / General / Question to eZ crew!

Question to eZ crew!

Author Message

Rami Grossman

Sunday 11 July 2004 10:47:28 pm

What do I have to do to make string handling work with Unicode?
If its not possible, then when will it be?

Jan Borsodi

Monday 12 July 2004 5:05:46 am

Which string handling are you referring to?
Do you mean for template operators?

This is quite complex actually, you can get support for Unicode for a lot of string functions in PHP by using the mb_string extension.
However this extension is not always available and it will slow down everything since it will use Unicode strings on ALL strings and not just the ones that needs it.

To implement this properly we will have to generate PHP fallback functions for the most common strings operations in pure PHP (for those who don't have mb_string, otherwise we just call the mb_string functions directly). Then all text/string operators must be changed to use this library.

All in all this requires lots of work.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq