Every time I see the Unicode support in PHP 6 getting better, I like
it more. But I have a question related to a problem I recently had to
solve with an external script in my code: Will there be any way to
access different normalization forms from inside PHP? After a great
deal of research and attempting various methods, I ended up using a
hacked version of an ancient Perl script from W3C to get normalized
Unicode, and I'm hoping there'll be something better in the offing. I
don't have the Unicode skill to write a normalization routine as
either PHP or a PHP extension, not to mention I don't want to haul
around that giant datafile of decompositions :).
-- Gwynne, Daughter of the Code
"This whole world is an asylum for the incurable."
Yes, there will be an API to convert the text between various
normalization forms. PHP itself, however, expects the strings you
give it to be in the NFC form, in case you were curious.
-Andrei
Every time I see the Unicode support in PHP 6 getting better, I
like it more. But I have a question related to a problem I recently
had to solve with an external script in my code: Will there be any
way to access different normalization forms from inside PHP? After
a great deal of research and attempting various methods, I ended up
using a hacked version of an ancient Perl script from W3C to get
normalized Unicode, and I'm hoping there'll be something better in
the offing. I don't have the Unicode skill to write a normalization
routine as either PHP or a PHP extension, not to mention I don't
want to haul around that giant datafile of decompositions :).-- Gwynne, Daughter of the Code
"This whole world is an asylum for the incurable."