Hi Nicolas,
On 8/9/12 9:10 AM, Nicolas Grekas wrote:
Hi guys,
I just discovered the Locale Component and its stub intl implementation,
so I though you might be interested in knowing about Patchwork UTF-8
<https://github.com/nicolas-grekas/Patchwork-UTF8>.
Patchwork UTF-8 provides both a portability layer for Unicode handling
in PHP and a class that mirrors the quasi complete set of native string
functions, enhanced to UTF-8 grapheme clusters awareness. It provides a
pure PHP compatibility implementation for intl's Normalizer class and
grapheme_* functions, but also for most functions of the mbstring and
iconv extensions.
As I didn't work towards some sort of Symfony integration, you'll see
that many things differs from your standards (licence, CS, file layout,
etc.). These aspects put aside for now, do you see any interest in
including this code to Symfony Locale Component?
This looks really interesting. We have done the intl stub classes
because the Form framework relies heavily on intl and installing intl
(especially if you compile your PHP yourself) is not an easy task.
But compiling PHP with mbstring or iconv is much easier and is not that
difficult. So, just abstracting mbstring and iconv is probably not
enough to include an abstraction on top of them.
What others think?
Fabien
Regards,
Nicolas
--
If you want to report a vulnerability issue on symfony, please send it
to security at symfony-project.com
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
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
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