On Thu, Nov 25, 2021 at 3:14 AM Tim Starling <tstarl...@wikimedia.org> wrote: > > On 25/11/21 7:57 pm, Côme Chilliet wrote: > > > To reuse the example from the RFC, if I want to convert a UTF string to > > uppercase using Turkish rules and get dotted capital I, what should I use? > > For case-insensitive comparison you can use Collator. But for display > you just have to do it yourself. For the Turkish Wikipedia and other > Turkic language websites we are currently using str_replace().
Any particular reason not to use transliterators? https://3v4l.org/I038T -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php