The solution I've used is not to use that function but implement your own and use the mb_* functions. Maybe that's not a built-in default because the mbstring extension need a little configuration to work properly.
Another possibility is to use the mbstring overload capability in php so when you use e.g. substr(), it automatically uses mb_substr(). Then, no change in symfony would be required. I would like to see this fixed in symfony itself, however. > > Today I used symfony's Text helper (truncate_text function) for the > first time and I was very disappointed - it doesn't support multibyte- > character encoding (UTF-8) at all... Having looked a little of > symfony's code I had seen that this problem is in many places. Will it > be solved? And, if it is, then where? > > Kohana PHP has already solved this problem. The solution is here: > http://svn.kohanaphp.com/trunk/system/core/utf8.php. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---
