Re: [VOTE][RFC] mb_ucfirst and mb_lcfirst functions
| From: | Ayesh Karunaratne | Date: | Wed, 07 Feb 2024 02:43:30 +0000 |
| Subject: | Re: [VOTE][RFC] mb_ucfirst and mb_lcfirst functions | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-122321@lists.php.net to get a copy of this message | ||
> > I see. I'll change mb_ucfirst using titlecase.
>
> Per my comments a month ago on the GitHub issue , I think it is much
> better to use title case for mb_ucfirst() than to use upper case,
> since conversion of the first character to upper case has the effect
> of corrupting text in the Georgian script, and initial lower-case
> ligatures are converted to a form which appears like two upper case
> letters. So I'm pleased to see this change to the PR.
>
> I would appreciate it if the RFC could also be updated to include this
> detail, since my vote depends on whether title case or upper case will
> be used.
>
> -- Tim Starling
>
Hi Tim,
Now that the RFC is restarted, could you mention some examples in Georgian
that might be good test cases?
I was thinking there might be some good test cases in Turkish, but couldn't
find any. The RFC has examples (https://github.com/php/php-src/pull/13161)
in Vietnamese, but they are correct for both "uppercase first character"
and titlecase conversions.
Thank you.
>