-
Notifications
You must be signed in to change notification settings - Fork 52
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
Correct STRLEN
function for UTF-8 multibyte characters
#1584
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much. I will let the tests run through once more and then merge this.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1584 +/- ##
==========================================
+ Coverage 88.97% 89.10% +0.13%
==========================================
Files 368 371 +3
Lines 33819 34462 +643
Branches 3826 3899 +73
==========================================
+ Hits 30090 30708 +618
- Misses 2473 2482 +9
- Partials 1256 1272 +16 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two very minor suggestions to make the tools happy.
Co-authored-by: Johannes Kalmbach <[email protected]>
Co-authored-by: Johannes Kalmbach <[email protected]>
Conformance check passed ✅Test Status Changes 📊
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much!
STRLEN
function for UTF-8 multibyte characters
Quality Gate passedIssues Measures |
The
STRLEN
function now correctly counts the number of UTF codepoints in the Input (previously: The number of bytes in the UTF-8 serialization). So for exampleSTRLEN("Bäh") now correctly returns
3`.