[php-src] Issue #8096: mb_convert_case($str, MB_CASE_TITLE, "UTF-8"); doesn't convert the Greek last letter to ς but to σ
| From: | cmb69 | Date: | Thu, 17 Feb 2022 10:33:50 +0000 |
| Subject: | [php-src] Issue #8096: mb_convert_case($str, MB_CASE_TITLE, "UTF-8"); doesn't convert the Greek last letter to ς but to σ | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239841@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8096
Comment Author: cmb69
Well, it seems that none of the [conditional
mappings](https://www.unicode.org/Public/UCD/latest/ucd/SpecialCasing.txt) are implemented in
MBString. As such, this is more like a feature request. However, I'm not sure whether MBString
should implement these conditional mappings at all; the language-sensitive mappings would require
some way to specify the language, and while
mb_language() could be used for that, it is
currently only used for email messages, and as such could introduce subtle BC breaks. The
language-insensitive mappings would require some kind of lookahead, and as such might not fit well
to mbfl. @alexdowad, thoughts?