mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
[PR #103] [CLOSED] A function to detect strings with incomplete (split) UTF8 bytes at the end. #153
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#153
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ultimatepp/ultimatepp/pull/103
Author: @ismail-yilmaz
Created: 10/1/2022
Status: ❌ Closed
Base:
master← Head:check_utf8_split📝 Commits (10+)
e9b1e00Core/CheckUtf8() function added.f362fd6autotest/IncompeteUTf8test added.9e961deMerge branch 'ultimatepp:master' into check_utf8_split37d0b2cMerge branch 'ultimatepp:master' into check_utf8_split8356086Merge branch 'ultimatepp:master' into check_utf8_splitee265bbMerge branch 'ultimatepp:master' into check_utf8_split3a43b06Merge branch 'ultimatepp:master' into check_utf8_splitfa80ba9Merge branch 'ultimatepp:master' into check_utf8_splitdde586aMerge branch 'ultimatepp:master' into check_utf8_split5c3a5b0Merge branch 'ultimatepp:master' into check_utf8_split📊 Changes
5 files changed (+66 additions, -0 deletions)
View changed files
➕
autotest/IncompleteUtf8Test/IncompleteUtf8Test.cpp(+25 -0)➕
autotest/IncompleteUtf8Test/IncompleteUtf8Test.upp(+9 -0)📝
uppsrc/Core/CharSet.h(+4 -0)📝
uppsrc/Core/Utf.cpp(+11 -0)📝
uppsrc/Core/src.tpp/Utf_en-us.tpp(+17 -0)📄 Description
This patch adds a CheckUtf8Split() function (and its overloads) to Core/Utf8 helper functions, it also adds an autotest & Topic++ entry.
What it does:
What it doesn't:
The main purpose of this function is to allow developers to work better on environments where incoming data chunks are not always aligned with the variable length of UTF-8 sequences.
Please review.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.