Skip to content

Conversation

@starfy84
Copy link
Contributor

Ticket: DX-2800

This commit handles arbitrary sized characters. SWC uses byte offsets, while JS uses character offsets. This results in an index drift. #1109 had an initial fix, but upon adding more tests, it seemed that the fix was incomplete. This commit should pass the additional tests

@starfy84 starfy84 self-assigned this Jan 16, 2026
Ticket: DX-2800

This commit handles arbitrary sized characters. SWC uses byte offsets,
while JS uses character offsets. This results in an index drift. #1109
had an initial fix, but upon adding more tests, it seemed that the fix
was incomplete. This commit should pass the additional tests
@starfy84 starfy84 marked this pull request as ready for review January 16, 2026 18:17
@starfy84 starfy84 requested a review from a team as a code owner January 16, 2026 18:17
@starfy84 starfy84 enabled auto-merge January 16, 2026 18:17
Copy link
Contributor

@ericcrosson-bitgo ericcrosson-bitgo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks @starfy84

@starfy84 starfy84 merged commit 5ce39c1 into master Jan 16, 2026
6 checks passed
@starfy84 starfy84 deleted the DX-2800-multi-byte branch January 16, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants