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

View File

@@ -64,6 +64,7 @@ dependencies:
git:
url: https://github.com/lppcg/fl_lib
ref: v1.0.338
flutter_gbk2utf8: ^1.0.1
dependency_overrides:
# webdav_client_plus: