I think it would be useful.
For some reason, lots of people on stackoverflow has a hard time
implementing this function in userland:
on https://stackoverflow.com/questions/2517947/ucfirst-function-for-multibyte-character-encodings
there are 10 broken implementations of mb_ucfirst, and 1 correct one
(disclaimer: I only consider my own implementation correct:
https://stackoverflow.com/a/58915632/1067003
and consider every other implementation on the list broken in one way
or another. and i was really surprised that nobody else got it right.)
On Sat, 27 May 2023 at 23:11, Niels Dossche <dossche.niels@gmail.com> wrote: