Skip to content

fix(csharp): count Unicode code points in string bounds - #3446

Open
schani wants to merge 1 commit into
masterfrom
fix/csharp-unicode-string-length
Open

fix(csharp): count Unicode code points in string bounds#3446
schani wants to merge 1 commit into
masterfrom
fix/csharp-unicode-string-length

Conversation

@schani

@schani schani commented Sep 5, 2026

Copy link
Copy Markdown
Member

C# string bounds counted UTF-16 units, rejecting valid supplementary characters and accepting strings that were too short. Count Unicode code points in both renderers and enable string-length failure fixtures.

Adds targeted supplementary-character and combining-mark fixtures through optional language-specific schema inputs.

Validation: build; Biome; 10 C# schema fixtures, including positive and negative Unicode cases. Baseline rejects the valid emoji sample. Production diff: 14 lines.

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

Generated-output differences

991 files differ — 988 modified, 3 new, 0 deleted
2141 changed lines — +2081 / −60

Open the generated-output report →

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.

1 participant