Skip to content

fixed utf-8 output corrupted with truncated surrogates pairs#232

Open
xroche wants to merge 1 commit intolloyd:masterfrom
algolia:fix/corrupted-truncated-surrogates-pair
Open

fixed utf-8 output corrupted with truncated surrogates pairs#232
xroche wants to merge 1 commit intolloyd:masterfrom
algolia:fix/corrupted-truncated-surrogates-pair

Conversation

@xroche
Copy link
Copy Markdown

@xroche xroche commented Jan 7, 2021

Fixed utf-8 output corrupted with truncated surrogates pairs.

As an example, the \uDBFF💀 sequence would produce "?" and then a truncated version of "💀" which would result in invalid-UTF-8.

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