Skip to content
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

turkic_lc:: Convert to preferred utf8_to_uv() #22839

Draft
wants to merge 1 commit into
base: blead
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions utf8.c
Original file line number Diff line number Diff line change
Expand Up @@ -4163,8 +4163,9 @@ S_turkic_lc(pTHX_ const U8 * const p0, const U8 * const e,
/* For the dot above to modify the 'I', it must be part of a
* combining sequence immediately following the 'I', and no other
* modifier with a ccc of 230 may intervene */
cp = utf8_to_uvchr_buf(p, e, NULL);
if (! _invlist_contains_cp(PL_CCC_non0_non230, cp)) {
if ( ! utf8_to_uv(p, e, &cp, NULL)
|| ! _invlist_contains_cp(PL_CCC_non0_non230, cp))
{
break;
}

Expand Down
Loading