-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
[Web]: App crashes after selecting a text that contains emojis in it. Throws "Bad UTF-8 encoding found while decoding string:" #79105
Comments
Thanks @delay for reporting this with details and reproducible code. I see the same behavior after selecting text + emoji, using canvaskit and html renderers. The app crashes as soon as we select emoji. crash log
flutter doctor -v
|
This issue is marked P1 but has had no recent status updates. The P1 label indicates high-priority issues that are at the top of the work list. This is the highest priority level a bug can have if it isn't affecting a top-tier customer or breaking the build. Bugs marked P1 are generally actively being worked on unless the assignee is dealing with a P0 bug (or another P1 bug). Issues at this level should be resolved in a matter of months and should have monthly updates on GitHub. Please consider where this bug really falls in our current priorities, and label it or assign it accordingly. This allows people to have a clearer picture of what work is actually planned. Thanks! |
I just ran the sample above in debug and release modes and both work fine and can select any text with or without emoji. I'm going to consider this as fixed. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
My app is crashing when I print a string with an emoji in it. This problem is only able to be duplicated with flutter web. The error message on crash is:
Bad UTF-8 encoding found while decoding string:
Here is a project which reproduces the issue.Steps to Reproduce
flutter run -d chrome
for web. It works fine in iOS.print('selectedText: ' + selectedText.toString());
and then re-run the app, it will then select the emoji without any problems in the app.Bad UTF-8 encoding found while decoding string:
The text was updated successfully, but these errors were encountered: