Skip to content

Bad UTF-8 encoding (U+FFFD; REPLACEMENT CHARACTER) found while decoding string:  #133102

Description

@wuwenwei5566

Is there an existing issue for this?

Steps to reproduce

Bad UTF-8 encoding (U+FFFD; REPLACEMENT CHARACTER) found while decoding string: flutter: 2023-08-23 10:36:41.586964 debug: applyUpdateBlock opt:r, ctl:message, data:[{level: 0, ref_msg_id: 0, msg: , chat_idx: 98, chat_id: 12218, create_time: 1675994731, id: 321548, send_id: 2894, typ: 1, content: {"text":"@飞鱼 二月二\r\n🌈🌈�. The Flutter team would greatly appreciate if you could file a bug explaining exactly what you were doing when this happened:

Expected results

Normal operation

Actual results

Application crash

Code sample

Bad UTF-8 encoding (U+FFFD; REPLACEMENT CHARACTER) found while decoding string: flutter: 2023-08-23 10:36:41.586964 debug: applyUpdateBlock opt:r, ctl:message, data:[{level: 0, ref_msg_id: 0, msg: , chat_idx: 98, chat_id: 12218, create_time: 1675994731, id: 321548, send_id: 2894, typ: 1, content: {"text":"@飞鱼 二月二\r\n🌈🌈�. The Flutter team would greatly appreciate if you could file a bug explaining exactly what you were doing when this happened:

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Bad UTF-8 encoding (U+FFFD; REPLACEMENT CHARACTER) found while decoding string: flutter: 2023-08-23 10:36:41.586964 debug: applyUpdateBlock opt:r, ctl:message, data:[{level: 0, ref_msg_id: 0, msg: , chat_idx: 98, chat_id: 12218, create_time: 1675994731, id: 321548, send_id: 2894, typ: 1, content: {"text":"@飞鱼 二月二\r\n🌈🌈�. The Flutter team would greatly appreciate if you could file a bug explaining exactly what you were doing when this happened:
https://github.com/flutter/flutter/issues/new/choose
The source bytes were:
[102, 108, 117, 116, 116, 101, 114, 58, 32, 50, 48, 50, 51, 45, 48, 56, 45, 50, 51, 32, 49, 48, 58, 51, 54, 58, 52, 49, 46, 53, 56, 54, 57, 54, 52, 32, 100, 101, 98, 117, 103, 58, 32, 97, 112, 112, 108, 121, 85, 112, 100, 97, 116, 101, 66, 108, 111, 99, 107, 32, 111, 112, 116, 58, 114, 44, 32, 99, 116, 108, 58, 109, 101, 115, 115, 97, 103, 101, 44, 32, 100, 97, 116, 97, 58, 91, 123, 108, 101, 118, 101, 108, 58, 32, 48, 44, 32, 114, 101, 102, 95, 109, 115, 103, 95, 105, 100, 58, 32, 48, 44, 32, 109, 115, 103, 58, 32, 44, 32, 99, 104, 97, 116, 95, 105, 100, 120, 58, 32, 57, 56, 44, 32, 99, 104, 97, 116, 95, 105, 100, 58, 32, 49, 50, 50, 49, 56, 44, 32, 99, 114, 101, 97, 116, 101, 95, 116, 105, 109, 101, 58, 32, 49, 54, 55, 53, 57, 57, 52, 55, 51, 49, 44, 32, 105, 100, 58, 32, 51, 50, 49, 53, 52, 56, 44, 32, 115, 101, 110, 100, 95, 105, 100, 58, 32, 50, 56, 57, 52, 44, 32, 116, 121, 112, 58, 32, 49, 44, 32, 99, 111, 110, 116, 101, 110, 116, 58, 32, 123, 34, 116, 101, 120, 116, 34, 58, 34, 64, 233, 163, 158, 233, 177, 188, 32, 228, 186, 140, 230, 156, 136, 228, 186, 140, 92, 114, 92, 110, 240, 159, 140, 136, 240, 159, 140, 136, 239, 191, 189]

Flutter Doctor output

[!] Flutter (Channel [user-branch], 3.13.0, on macOS 12.6.5 21G531 darwin-arm64, locale zh-Hans-CN)
! Flutter version 3.13.0 on channel [user-branch] at /Users/wuwenwei/development/flutter
Currently on an unknown channel. Run flutter channel to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
! Upstream repository unknown source is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
• Framework revision efbf63d (7 days ago), 2023-08-15 21:05:06 -0500
• Engine revision 1ac611c64e
• Dart version 3.1.0
• DevTools version 2.25.0
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at /Users/wuwenwei/Library/Android/sdk
• Platform android-33, build-tools 32.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14C18
• CocoaPods version 1.11.2

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.81.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.70.0

[✓] Connected device (4 available)
• ELE AL00 (mobile) • 8KE5T19513005798 • android-arm64 • Android 10 (API 29)
• wuww (mobile) • 00008110-001C09120C82801E • ios • iOS 16.3.1 20D67
• macOS (desktop) • macos • darwin-arm64 • macOS 12.6.5 21G531 darwin-arm64
• Chrome (web) • chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    in triagePresently being triaged by the triage teamwaiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions