Trustmaster |
|
---|---|
Standard PHP functions like strlen() cannot deal with Unicode strings properly out of the box. They provide mbstring extension and a few more tricks to handle it. So, the options for proper Unicode support are:
1. Wait for PHP6 to come. 2. Replace all text processing functions with their mb_ equivalents and make straight use of mbstring extension. 3. Create wrappers to use both standard and mbstring functions. Will produce a great overhead though. 4. Ignore it. Unicode must die and bla-bla-bla. May the Source be with you!
|