Skip to content

Fix character literal forced encoding - #3649

Merged
kddnewton merged 1 commit into
mainfrom
fix-character-literal-forced-encoding
Sep 15, 2025
Merged

kddnewton merged 1 commit into
mainfrom
fix-character-literal-forced-encoding

Conversation

@kddnewton

Copy link
Copy Markdown
Collaborator

If a character literal was followed by a string concatenation, then the forced encoding of the string concatenation could accidentally overwrite the explicit encoding of the character literal. We now handle this properly.

Fixes #3512

If a character literal was followed by a string concatenation, then
the forced encoding of the string concatenation could accidentally
overwrite the explicit encoding of the character literal. We now
handle this properly.
@kddnewton
kddnewton merged commit 890c0d2 into main Sep 15, 2025
60 checks passed
@kddnewton
kddnewton deleted the fix-character-literal-forced-encoding branch September 15, 2025 14:27
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.

?\u3042"" produces a broken string on non-UTF-8 input

1 participant