Re: [RFC] Unicode Text Processing
| From: | Deleu | Date: | Thu, 15 Dec 2022 16:26:06 +0000 |
| Subject: | Re: [RFC] Unicode Text Processing | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-119151@lists.php.net to get a copy of this message | ||
On Thu, Dec 15, 2022 at 12:34 PM Derick Rethans <derick@php.net> wrote:
> Hi,
>
> I have just published an initial draft of the "Unicode Text Processing"
> RFC, a proposal to have performant unicode text processing always
> available to PHP users, by introducing a new "Text" class.
>
> You can find it at:
> https://wiki.php.net/rfc/unicode_text_processing
>
> I'm looking forwards to hearing your opinions, additions, and
> suggestions — the RFC specifically asks for these in places.
>
> cheers,
> Derick
>
I appreciate the work behind this RFC. Although I can't comment much on the
utility itself as I never really used
ext-intl or much of UTF-8/16 stuff,
I think PHP lacks A LOT of built-in classes to make matters simpler and
welcoming.
Sure, anybody in userland could write a class, but that leads to lots of
implementations and an overwhelming amount of choices to be made. If this
class can cover 80% of the use-case, folks can extend it to build their
remaining 20% advanced use-case and PHP becomes easier. I really look
forward to more basic utility-classes built-in and ready to go.
--
Marco Deleu