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

Crash when converting unrepresentable characters/strings #602

Closed
adazem009 opened this issue Nov 19, 2024 · 0 comments · Fixed by #626
Closed

Crash when converting unrepresentable characters/strings #602

adazem009 opened this issue Nov 19, 2024 · 0 comments · Fixed by #626
Labels
bug Something isn't working crash Issues involving a crash P0 Priority: Critical

Comments

@adazem009
Copy link
Contributor

adazem009 commented Nov 19, 2024

image
crashes with:

terminate called after throwing an instance of 'utf8::invalid_utf16'
  what():  Invalid UTF-16

Scratch splits the character into U+D83D and U+DC80 in this case.
💀

@adazem009 adazem009 added bug Something isn't working P2 Priority: Medium crash Issues involving a crash labels Nov 19, 2024
@adazem009 adazem009 changed the title Crash when converting unrepresentable strings Crash when converting unrepresentable characters/strings Nov 19, 2024
@adazem009 adazem009 added P0 Priority: Critical and removed P2 Priority: Medium labels Dec 9, 2024
@adazem009 adazem009 moved this from Todo to In Progress in libscratchcpp 0.14 Feb 9, 2025
@adazem009 adazem009 moved this from In Progress to Needs testing in libscratchcpp 0.14 Feb 14, 2025
@github-project-automation github-project-automation bot moved this from Needs testing to Done in libscratchcpp 0.14 Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash Issues involving a crash P0 Priority: Critical
Projects
Development

Successfully merging a pull request may close this issue.

1 participant