# Fix for grapheme bug 61860

- Thread: https://externals.io/message/67785
- Original archive: https://news-web.php.net/php.internals/67785
- Started by Stas Malyshev on 2013-06-24T06:30:57+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #67785 — Stas Malyshev — 2013-06-24T06:30:57+00:00

URL: https://externals.io/message/67785#67785

Hi!

I've started working on fixing bug #61860 (where grapheme case
insensitive functions mess up offsets for complex case folding) and
ended up rewriting the string search functions to use proper ICU API for
that - USearch. All tests seem to be passing just fine, and it is what
it should be doing from the start, but I do not completely trust that
our tests there are full. So if someone uses grapheme string functions
with real code & tests, could you please check out this pull:

https://github.com/php/php-src/pull/362

And see if nothing breaks for you and notify me if anything does so I
could add it to the tests.
If nothing breaks, I'll commit it shortly.
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227
