Re: Unicode support
| From: | Andrea Faulds | Date: | Tue, 14 Oct 2014 13:50:20 +0000 |
| Subject: | Re: Unicode support | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77998@lists.php.net to get a copy of this message | ||
On 14 Oct 2014, at 10:04, Aleksey Tulinov <aleksey.tulinov@gmail.com> wrote:
> I would appreciate if someone would point me to a good read or explain collective opinion on
> this topic. I'm basically interested in the following questions:
>
> 1. Is there a need for more Unicode support in PHP?
Yes.
> 2. What is currently missing in that regard?
Unicode string support.
> 3. Is this a good place to ask such questions?
Yes.
If you want to see a pragmatic, actually working, work-in-progress attempt at better PHP unicode
support, see this: https://github.com/krakjoe/ustring
It would add a UString class to PHP for Unicode strings. This would make Unicode text manipulation
much easier than it is now. And both internal and userland code which accepts strings would already
be compatible as it has a __toString method, but new code could also choose to accept UStrings
directly.
--
Andrea Faulds
http://ajf.me/