Re: Simpler Unicode solution for PHP6
Hi,
On Feb 20, 2014 11:17 PM, "Andrea Faulds" <[email protected]> wrote:
>
> Hi,
>
> As a simpler to implement approach to Unicode, could we perhaps support
it just by adding an “is UTF-8” flag to strings internally? Then unmodified
functions would just see a normal string and handle it like they do any
other, and modified and new Unicode-aware functions would test for the
presence of the flag and handle the string appropriately in that case.
>
> Thoughts?
That could be an option during the development phase. However I do not like
the idea of a flag for the final implementation, it creates more troubles
from an application point of view.
The main problem remains tho' (see the other threads). If we do not manage
to solve it within the next months, we can delay 6 for another year or two.
Cheers,
Pierre
Thread (3 messages)