Skip to content

"Bad UTF-8 encoding" in zh-CN locales on Windows #15646

Closed

Description

@peace2knowledge

Flutter crash report; please file at https://github.com/flutter/flutter/issues.

command

flutter run

exception

FormatException: FormatException: Bad UTF-8 encoding 0xb4 (at offset 96)

#0      _Utf8Decoder.convert (dart:convert/utf.dart:574)
#1      _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:345)
#2      _Utf8ConversionSink.add (dart:convert/string_conversion.dart:341)
#3      _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:86)
#4      _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120)
#5      _rootRunUnary (dart:async/zone.dart:1134)
#6      _CustomZone.runUnary (dart:async/zone.dart:1031)
#7      _CustomZone.runUnaryGuarded (dart:async/zone.dart:933)
#8      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:330)
#9      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:257)
#10     _StreamController&&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:762)
#11     _StreamController._add (dart:async/stream_controller.dart:638)
#12     _StreamController.add (dart:async/stream_controller.dart:584)
#13     _Socket._onData (dart:io-patch/socket_patch.dart:1654)
#14     _rootRunUnary (dart:async/zone.dart:1138)
#15     _CustomZone.runUnary (dart:async/zone.dart:1031)
#16     _CustomZone.runUnaryGuarded (dart:async/zone.dart:933)
#17     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:330)
#18     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:257)
#19     _StreamController&&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:762)
#20     _StreamController._add (dart:async/stream_controller.dart:638)
#21     _StreamController.add (dart:async/stream_controller.dart:584)
#22     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1231)
#23     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:784)
#24     _microtaskLoop (dart:async/schedule_microtask.dart:41)
#25     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#26     _runPendingImmediateCallback (dart:isolate-patch/dart:isolate/isolate_patch.dart:111)
#27     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:164)

flutter doctor

[✓] Flutter (on Microsoft Windows [Version 10.0.16299.309], locale zh-CN, channel alpha)
    • Flutter version 0.0.21 at D:\flutter
    • Framework revision 2e449f06f0 (7 weeks ago), 2018-01-29 14:26:51 -0800
    • Engine revision 6921873c71
    • Tools Dart version 2.0.0-dev.16.0
    • Engine Dart version 2.0.0-edge.da1f52592ef73fe3afa485385cb995b9aec0181a

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at C:\Users\Administrator\AppData\Local\Android\sdk
    • Android NDK at C:\Users\Administrator\AppData\Local\Android\sdk\ndk-bundle
    • Platform android-27, build-tools 27.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[✓] Android Studio (version 3.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[✓] IntelliJ IDEA Community Edition (version 2017.3)
    • Flutter plugin version 22.0.2
    • Dart plugin version 173.3942.31

[✓] Connected devices
    • MI 6 • dcf581ed • android-arm • Android 7.1.1 (API 25)

Activity

  1. Hixie commented on Jun 12, 2018

    @Hixie
    Contributor

    Looks like that was a really old version of Flutter. Can you try running this on a modern version? Do you still see it?

  2. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jun 12, 2018
  3. peace2knowledge commented on Jun 14, 2018

    @peace2knowledge
    Author

    This problem still exist on windows platfrom.thanks @Hixie

  4. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jun 14, 2018
  5. zoechi commented on Jun 14, 2018

    @zoechi
    Contributor

    @peace2knowledge can you please add the output of flutter doctor to get information about what your current Flutter setup is?

  6. peace2knowledge commented on Jun 19, 2018

    @peace2knowledge
    Author
    $ flutter doctor
    Doctor summary (to see all details, run flutter doctor -v):
    [√] Flutter (Channel beta, v0.4.4, on Microsoft Windows [Version 10.0.17134.112], locale zh-CN)
    [√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    [√] Android Studio (version 3.0)
    [√] IntelliJ IDEA Community Edition (version 2018.1)
    [√] VS Code, 64-bit edition (version 1.22.2)
    [√] Connected devices (1 available)
    
    • No issues found!
    

    @zoechi

    I add some so file in project,is this related to this problem ?

  7. changed the title [-]FormatException: FormatException: Bad UTF-8 encoding 0xb4 (at offset 96)[/-] [+]"Bad UTF-8 encoding" in zh-CN locales[/+] on Jun 19, 2018
  8. Hixie commented on Jun 20, 2018

    @Hixie
    Contributor

    cc @xster @InMatrix @liyuqian Can any of your reproduce this? It seems like the common thread between all the duplicates is Windows machines in the zh-CN locale.

  9. added
    a: internationalizationSupporting other languages or locales. (aka i18n)
    platform-windowsBuilding on or for Windows specifically
    a: chinaChina and its Great Firewall
    on Jun 20, 2018
  10. added this to the milestone on Jun 20, 2018
  11. 87 remaining items

  12. modified the milestones: Scheduled customer work, on Apr 30, 2019
  13. Hixie commented on Apr 30, 2019

    @Hixie
    Contributor

    Our current assumption is that this is fixed. If you still see this on the master channel please let us know.

  14. no-response commented on May 7, 2019

    @no-response

    Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
    Thanks for your contribution.

  15. tomg2012 commented on May 12, 2020

    @tomg2012

    Hi, I suffered a crash, and the error message told me to post a message on this bug. I was pulling data from an open api, and cities from certain countries had characters that consistently blow up the jsondecode method. Here's the data that might be helpful to you. It would be nice not to hard crash on this. Try/catch doesn't stop it from closing the application. I'm experimenting with Flutter Web.

    Doctor:
    [√] Flutter (Channel beta, v1.17.0-3.3.pre, on Microsoft Windows [Version 10.0.18363.778], locale en-US)

    [√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    [√] Chrome - develop for the web
    [√] Android Studio (version 3.6)
    [√] Connected device (2 available)

    • No issues found!

    Finished with error: Bad UTF-8 encoding found while decoding string: [{country: AT, name: Amt der Burgenländischen Landesregierung, city: Amt der Burgenländischen Landesregierung, count: 471, locations: 1}, {country: AT, name: Amt der Burgenl�ndischen Landesregierung, city: Amt der Burgenl�ndischen Landesregierung, count: 35608, locations: 3}, {country: AT, name: Amt der Kärntner Landesregierung, city: Amt der Kärntner Landesregierung, count: 471, locations: 1}, {country: AT, name: Amt der K�rntner Landesregierung, city: Amt der K�rntner Landesregierung, count: 104663, locations: 16}, {country: AT, name: Amt der Niederösterreichischen Landesregierung, city: Amt der Niederösterreichischen Landesregierung, count: 1413, locations: 3}, {country: AT, name: Amt der Nieder�sterreichischen Landesregierung, city: Amt der Nieder�sterreichischen Landesregierung, count: 322499, locations: 39}, {country: AT, name: Amt der Oberösterreichischen Landesregierung, city: Amt der Oberösterreichischen Landesregierung, count: 2828, locations: 6}, {country: AT, name: Amt der Ober�sterreichischen Landesregierung, city: Amt der Ober�sterreichischen Landesregierung, count: 154329, locations: 16}, {country: AT, name: Amt der Salzburger Landesregierung, city: Amt der Salzburger Landesregierung, count: 94197, locations: 12}, {country: AT, name: Amt der Steiermärkischen Landesregierung, city: Amt der Steiermärkischen Landesregierung, count: 1891, locations: 4}, {country: AT, name: Amt der Steierm�rkischen Landesregierung, city: Amt der Steierm�rkischen Landesregierung, count: 320372, locations: 41}, {country: AT, name: Amt der Tiroler Landesregierung, city: Amt der Tiroler Landesregierung, count: 113161, locations: 19}, {country: AT, name: Austria, city: Austria, count: 121987, locations: 174}, {country: AT, name: Burgenland, city: Burgenland, count: 20721, locations: 4}, {country: AT, name: Gemeinde Wien, MA22 Umweltschutz, city: Gemeinde Wien, MA22 Umweltschutz, count: 130328, locations: 21}, {country: AT, name: Kärnten, city: Kärnten, count: 45741, locations: 14}, {country: AT, name: Niederösterreich, city: Niederösterreich, count: 132211, locations: 40}, {country: AT, name: Oberösterreich, city: Oberösterreich, count: 79733, locations: 16}, {country: AT, name: Salzburg, city: Salzburg, count: 36801, locations: 12}, {country: AT, name: Steiermark, city: Steiermark, count: 115634, locations: 38}, {country: AT, name: Tirol, city: Tirol, count: 41938, locations: 19}, {country: AT, name: Umweltbundesamt, city: Umweltbundesamt, count: 81025, locations: 8}, {country: AT, name: Umweltinstitut des Landes Vorarlberg, city: Umweltinstitut des Landes Vorarlberg, count: 36108, locations: 9}, {country: AT, name: Vorarlberg, city: Vorarlberg, count: 12569, locations: 8}, {country: AT, name: Wien, city: Wien, count: 63843, locations: 17}]
    . The Flutter team would greatly appreciate if you could file a bug or leave a comment on the issue #15646.
    The source bytes were:
    [91, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 66, 117, 114, 103, 101, 110, 108, 195, 164, 110, 100, 105, 115, 99, 104, 101, 110, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 105, 116, 121, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 66, 117, 114, 103, 101, 110, 108, 195, 164, 110, 100, 105, 115, 99, 104, 101, 110, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 111, 117, 110, 116, 58, 32, 52, 55, 49, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 49, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 66, 117, 114, 103, 101, 110, 108, 239, 191, 189, 110, 100, 105, 115, 99, 104, 101, 110, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 105, 116, 121, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 66, 117, 114, 103, 101, 110, 108, 239, 191, 189, 110, 100, 105, 115, 99, 104, 101, 110, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 111, 117, 110, 116, 58, 32, 51, 53, 54, 48, 56, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 51, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 75, 195, 164, 114, 110, 116, 110, 101, 114, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 105, 116, 121, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 75, 195, 164, 114, 110, 116, 110, 101, 114, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 111, 117, 110, 116, 58, 32, 52, 55, 49, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 49, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 75, 239, 191, 189, 114, 110, 116, 110, 101, 114, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 105, 116, 121, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 75, 239, 191, 189, 114, 110, 116, 110, 101, 114, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 111, 117, 110, 116, 58, 32, 49, 48, 52, 54, 54, 51, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 49, 54, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 78, 105, 101, 100, 101, 114, 195, 182, 115, 116, 101, 114, 114, 101, 105, 99, 104, 105, 115, 99, 104, 101, 110, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 105, 116, 121, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 78, 105, 101, 100, 101, 114, 195, 182, 115, 116, 101, 114, 114, 101, 105, 99, 104, 105, 115, 99, 104, 101, 110, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 111, 117, 110, 116, 58, 32, 49, 52, 49, 51, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 51, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 78, 105, 101, 100, 101, 114, 239, 191, 189, 115, 116, 101, 114, 114, 101, 105, 99, 104, 105, 115, 99, 104, 101, 110, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 105, 116, 121, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 78, 105, 101, 100, 101, 114, 239, 191, 189, 115, 116, 101, 114, 114, 101, 105, 99, 104, 105, 115, 99, 104, 101, 110, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 111, 117, 110, 116, 58, 32, 51, 50, 50, 52, 57, 57, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 51, 57, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 79, 98, 101, 114, 195, 182, 115, 116, 101, 114, 114, 101, 105, 99, 104, 105, 115, 99, 104, 101, 110, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 105, 116, 121, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 79, 98, 101, 114, 195, 182, 115, 116, 101, 114, 114, 101, 105, 99, 104, 105, 115, 99, 104, 101, 110, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 111, 117, 110, 116, 58, 32, 50, 56, 50, 56, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 54, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 79, 98, 101, 114, 239, 191, 189, 115, 116, 101, 114, 114, 101, 105, 99, 104, 105, 115, 99, 104, 101, 110, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 105, 116, 121, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 79, 98, 101, 114, 239, 191, 189, 115, 116, 101, 114, 114, 101, 105, 99, 104, 105, 115, 99, 104, 101, 110, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 111, 117, 110, 116, 58, 32, 49, 53, 52, 51, 50, 57, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 49, 54, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 83, 97, 108, 122, 98, 117, 114, 103, 101, 114, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 105, 116, 121, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 83, 97, 108, 122, 98, 117, 114, 103, 101, 114, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 111, 117, 110, 116, 58, 32, 57, 52, 49, 57, 55, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 49, 50, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 83, 116, 101, 105, 101, 114, 109, 195, 164, 114, 107, 105, 115, 99, 104, 101, 110, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 105, 116, 121, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 83, 116, 101, 105, 101, 114, 109, 195, 164, 114, 107, 105, 115, 99, 104, 101, 110, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 111, 117, 110, 116, 58, 32, 49, 56, 57, 49, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 52, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 83, 116, 101, 105, 101, 114, 109, 239, 191, 189, 114, 107, 105, 115, 99, 104, 101, 110, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 105, 116, 121, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 83, 116, 101, 105, 101, 114, 109, 239, 191, 189, 114, 107, 105, 115, 99, 104, 101, 110, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 111, 117, 110, 116, 58, 32, 51, 50, 48, 51, 55, 50, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 52, 49, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 84, 105, 114, 111, 108, 101, 114, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 105, 116, 121, 58, 32, 65, 109, 116, 32, 100, 101, 114, 32, 84, 105, 114, 111, 108, 101, 114, 32, 76, 97, 110, 100, 101, 115, 114, 101, 103, 105, 101, 114, 117, 110, 103, 44, 32, 99, 111, 117, 110, 116, 58, 32, 49, 49, 51, 49, 54, 49, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 49, 57, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 65, 117, 115, 116, 114, 105, 97, 44, 32, 99, 105, 116, 121, 58, 32, 65, 117, 115, 116, 114, 105, 97, 44, 32, 99, 111, 117, 110, 116, 58, 32, 49, 50, 49, 57, 56, 55, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 49, 55, 52, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 66, 117, 114, 103, 101, 110, 108, 97, 110, 100, 44, 32, 99, 105, 116, 121, 58, 32, 66, 117, 114, 103, 101, 110, 108, 97, 110, 100, 44, 32, 99, 111, 117, 110, 116, 58, 32, 50, 48, 55, 50, 49, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 52, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 71, 101, 109, 101, 105, 110, 100, 101, 32, 87, 105, 101, 110, 44, 32, 77, 65, 50, 50, 32, 85, 109, 119, 101, 108, 116, 115, 99, 104, 117, 116, 122, 44, 32, 99, 105, 116, 121, 58, 32, 71, 101, 109, 101, 105, 110, 100, 101, 32, 87, 105, 101, 110, 44, 32, 77, 65, 50, 50, 32, 85, 109, 119, 101, 108, 116, 115, 99, 104, 117, 116, 122, 44, 32, 99, 111, 117, 110, 116, 58, 32, 49, 51, 48, 51, 50, 56, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 50, 49, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 75, 195, 164, 114, 110, 116, 101, 110, 44, 32, 99, 105, 116, 121, 58, 32, 75, 195, 164, 114, 110, 116, 101, 110, 44, 32, 99, 111, 117, 110, 116, 58, 32, 52, 53, 55, 52, 49, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 49, 52, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 78, 105, 101, 100, 101, 114, 195, 182, 115, 116, 101, 114, 114, 101, 105, 99, 104, 44, 32, 99, 105, 116, 121, 58, 32, 78, 105, 101, 100, 101, 114, 195, 182, 115, 116, 101, 114, 114, 101, 105, 99, 104, 44, 32, 99, 111, 117, 110, 116, 58, 32, 49, 51, 50, 50, 49, 49, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 52, 48, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 79, 98, 101, 114, 195, 182, 115, 116, 101, 114, 114, 101, 105, 99, 104, 44, 32, 99, 105, 116, 121, 58, 32, 79, 98, 101, 114, 195, 182, 115, 116, 101, 114, 114, 101, 105, 99, 104, 44, 32, 99, 111, 117, 110, 116, 58, 32, 55, 57, 55, 51, 51, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 49, 54, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 83, 97, 108, 122, 98, 117, 114, 103, 44, 32, 99, 105, 116, 121, 58, 32, 83, 97, 108, 122, 98, 117, 114, 103, 44, 32, 99, 111, 117, 110, 116, 58, 32, 51, 54, 56, 48, 49, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 49, 50, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 83, 116, 101, 105, 101, 114, 109, 97, 114, 107, 44, 32, 99, 105, 116, 121, 58, 32, 83, 116, 101, 105, 101, 114, 109, 97, 114, 107, 44, 32, 99, 111, 117, 110, 116, 58, 32, 49, 49, 53, 54, 51, 52, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 51, 56, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 84, 105, 114, 111, 108, 44, 32, 99, 105, 116, 121, 58, 32, 84, 105, 114, 111, 108, 44, 32, 99, 111, 117, 110, 116, 58, 32, 52, 49, 57, 51, 56, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 49, 57, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 85, 109, 119, 101, 108, 116, 98, 117, 110, 100, 101, 115, 97, 109, 116, 44, 32, 99, 105, 116, 121, 58, 32, 85, 109, 119, 101, 108, 116, 98, 117, 110, 100, 101, 115, 97, 109, 116, 44, 32, 99, 111, 117, 110, 116, 58, 32, 56, 49, 48, 50, 53, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 56, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 85, 109, 119, 101, 108, 116, 105, 110, 115, 116, 105, 116, 117, 116, 32, 100, 101, 115, 32, 76, 97, 110, 100, 101, 115, 32, 86, 111, 114, 97, 114, 108, 98, 101, 114, 103, 44, 32, 99, 105, 116, 121, 58, 32, 85, 109, 119, 101, 108, 116, 105, 110, 115, 116, 105, 116, 117, 116, 32, 100, 101, 115, 32, 76, 97, 110, 100, 101, 115, 32, 86, 111, 114, 97, 114, 108, 98, 101, 114, 103, 44, 32, 99, 111, 117, 110, 116, 58, 32, 51, 54, 49, 48, 56, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 57, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 86, 111, 114, 97, 114, 108, 98, 101, 114, 103, 44, 32, 99, 105, 116, 121, 58, 32, 86, 111, 114, 97, 114, 108, 98, 101, 114, 103, 44, 32, 99, 111, 117, 110, 116, 58, 32, 49, 50, 53, 54, 57, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 56, 125, 44, 32, 123, 99, 111, 117, 110, 116, 114, 121, 58, 32, 65, 84, 44, 32, 110, 97, 109, 101, 58, 32, 87, 105, 101, 110, 44, 32, 99, 105, 116, 121, 58, 32, 87, 105, 101, 110, 44, 32, 99, 111, 117, 110, 116, 58, 32, 54, 51, 56, 52, 51, 44, 32, 108, 111, 99, 97, 116, 105, 111, 110, 115, 58, 32, 49, 55, 125, 93, 10]

  16. radoslaw-sz commented on Jul 11, 2020

    @radoslaw-sz

    As error messages is saying, I am filling the comment.

    Doctor:
    [√] Flutter (Channel beta, 1.19.0-4.3.pre, on Microsoft Windows [Version 10.0.18362.900], locale pl-PL)
    [√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    [√] Chrome - develop for the web
    [√] Android Studio (version 3.5)
    [√] Connected device (2 available)

    I am using plugin: https://pub.dev/packages/flutter_chips_input/versions/1.9.0-dev.3

    Bad UTF-8 encoding found while decoding string: TextEditingValue(text: ┤�├, selection: TextSelection(baseOffset: 1, extentOffset: 1, affinity: TextAffinity.downstream, isDirectional: false), composing: TextRange(start:-1, end: -1))
    . The Flutter team would greatly appreciate if you could file a bug or leave a comment on the issue #15646.
    The source bytes were:
    [84, 101, 120, 116, 69, 100, 105, 116, 105, 110, 103, 86, 97, 108, 117, 101, 40, 116, 101, 120, 116, 58, 32, 226, 148, 164, 239, 191, 189, 226, 148, 156, 44, 32, 115, 101, 108, 101, 99, 116, 105, 111, 110, 58, 32, 84,
    102, 105, 110, 105, 116, 121, 58, 32, 84, 101, 120, 116, 65, 102, 102, 105, 110, 105, 116, 121, 46, 100, 111, 119, 110, 115, 116, 114, 101, 97, 109, 44, 32, 105, 115, 68, 105, 114, 101, 99, 116, 105, 111, 110, 97, 108,58, 32, 102, 97, 108, 115, 101, 41, 44, 32, 99, 111, 109, 112, 111, 115, 105, 110, 103, 58, 32, 84, 101, 120, 116, 82, 97, 110, 103, 101, 40, 115, 116, 97, 114, 116, 58, 32, 45, 49, 44, 32, 101, 110, 100, 58, 32, 45,

  17. tomgrin10 commented on Jul 17, 2020

    @tomgrin10

    As error messages is saying, I am filling the comment.

    Doctor:
    [√] Flutter (Channel beta, 1.19.0-4.3.pre, on Microsoft Windows [Version 10.0.18362.900], locale pl-PL)
    [√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    [√] Chrome - develop for the web
    [√] Android Studio (version 3.5)
    [√] Connected device (2 available)

    I am using plugin: https://pub.dev/packages/flutter_chips_input/versions/1.9.0-dev.3

    Bad UTF-8 encoding found while decoding string: TextEditingValue(text: ┤�├, selection: TextSelection(baseOffset: 1, extentOffset: 1, affinity: TextAffinity.downstream, isDirectional: false), composing: TextRange(start:-1, end: -1))
    . The Flutter team would greatly appreciate if you could file a bug or leave a comment on the issue #15646.
    The source bytes were:
    [84, 101, 120, 116, 69, 100, 105, 116, 105, 110, 103, 86, 97, 108, 117, 101, 40, 116, 101, 120, 116, 58, 32, 226, 148, 164, 239, 191, 189, 226, 148, 156, 44, 32, 115, 101, 108, 101, 99, 116, 105, 111, 110, 58, 32, 84,
    102, 105, 110, 105, 116, 121, 58, 32, 84, 101, 120, 116, 65, 102, 102, 105, 110, 105, 116, 121, 46, 100, 111, 119, 110, 115, 116, 114, 101, 97, 109, 44, 32, 105, 115, 68, 105, 114, 101, 99, 116, 105, 111, 110, 97, 108,58, 32, 102, 97, 108, 115, 101, 41, 44, 32, 99, 111, 109, 112, 111, 115, 105, 110, 103, 58, 32, 84, 101, 120, 116, 82, 97, 110, 103, 101, 40, 115, 116, 97, 114, 116, 58, 32, 45, 49, 44, 32, 101, 110, 100, 58, 32, 45,

    @mordivgor Did you fix this error somehow? I'm trying to use this plugin also and getting the same error :(

  18. radoslaw-sz commented on Jul 20, 2020

    @radoslaw-sz

    @tomgrin10 unfortunately not, I switched to normal "InputChip".

  19. KarnerTh commented on Jul 24, 2020

    @KarnerTh

    @tomgrin10 @mordivgor take a look at this gist, workes for me also on web :) https://gist.github.com/slightfoot/c6c0f1f1baca326a389a9aec47886ad6

  20. tomgrin10 commented on Jul 24, 2020

    @tomgrin10

    @tomgrin10 @mordivgor take a look at this gist, workes for me also on web :) https://gist.github.com/slightfoot/c6c0f1f1baca326a389a9aec47886ad6

    @KarnerTh Well, after a bit of playing around with it I got it to work.
    But it doesn't feel like a normal web TextField, did you change anything in the code?

  21. SupremNandalDev commented on Jul 31, 2020

    @SupremNandalDev

    Got this error ::

    Bad UTF-8 encoding found while decoding string: Path: �PNG
    . The Flutter team would greatly appreciate if you could file a bug or leave a comment on the issue #15646.
    The source bytes were:
    [80, 97, 116, 104, 58, 32, 239, 191, 189, 80, 78, 71, 10]

    suprem@flutter:~/Desktop/my_app$ flutter doctor
    Doctor summary (to see all details, run flutter doctor -v):
    [✓] Flutter (Channel dev, 1.21.0-1.0.pre, on Linux, locale en_IN)

    [!] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
    [✓] Chrome - develop for the web
    [✓] Linux toolchain - develop for Linux desktop
    [✓] Android Studio (version 4.0)
    [✓] Connected device (3 available)

    ! Doctor found issues in 1 category.

  22. Hixie commented on Aug 4, 2020

    @Hixie
    Contributor

    Thanks for all the recent reports, they're very helpful. They seem to be new cases (none are in the chinese locale) so if you would like us to investigate them please do file a new bug for those. In general I suspect for most of the recent reports the problem is that the application is outputting invalid UTF-8 to the console.

  23. locked as resolved and limited conversation to collaborators on Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: chinaChina and its Great Firewalla: internationalizationSupporting other languages or locales. (aka i18n)customer: crowdAffects or could affect many people, though not necessarily a specific customer.dependency: dartDart team may need to help usplatform-windowsBuilding on or for Windows specificallytoolAffects the "flutter" command-line tool. See also t: labels.waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions