-
Notifications
You must be signed in to change notification settings - Fork 907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support multi-char case conversion in capitalize function #8647
Support multi-char case conversion in capitalize function #8647
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.08 #8647 +/- ##
================================================
+ Coverage 10.60% 10.61% +0.01%
================================================
Files 109 109
Lines 18280 18645 +365
================================================
+ Hits 1938 1980 +42
- Misses 16342 16665 +323
Continue to review full report at Codecov.
|
@firestarman will you be able to check if this fixes #8644 for you? |
Thanks @davidwendt , it can fix the issue #8644 . |
@gpucibot merge |
Closes #8644
Multi-character case conversion support added for strings
to_upper
andto_lower
is reused forcapitalize
andtitle
functions. For example, converting from a single characterʼn
to its upper-case equivalent is actually two distinct characters'N
(apostrophe and capital-N). This is different than conversion of a single multi-byte character to another single multi-byte character with different byte lengths. Here a single character is converted into two characters.