fix: GBK decoding fallback (#863)

* fix #757

* fix #757

* apply the code recommendations from sourcery ai

* Make sure raw is non-empty data

* Modified the way to judge gbk, fixed the problem that null cannot throw an error
This commit is contained in:
lxdklp
2025-08-21 23:28:06 +08:00
committed by GitHub
parent fcb3d7e2b3
commit 24fd4b782d
4 changed files with 61 additions and 3 deletions

3
devtools_options.yaml Normal file
View File

@@ -0,0 +1,3 @@
description: This file stores settings for Dart & Flutter DevTools.
documentation: https://docs.flutter.dev/tools/devtools/extensions#configure-extension-enablement-states
extensions: