From e5aecd241b9681fd7845c138121743b4c837355b Mon Sep 17 00:00:00 2001 From: Mumulhl Date: Tue, 1 Oct 2024 23:42:33 +0800 Subject: [PATCH] revert: fix: replace invaild characters for utf8 decode This reverts commit 690255bd946d198574223d242984f6d4a99e30df. --- lib/src/dict_reader_base.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/dict_reader_base.dart b/lib/src/dict_reader_base.dart index f5612c5..ffe2496 100644 --- a/lib/src/dict_reader_base.dart +++ b/lib/src/dict_reader_base.dart @@ -460,7 +460,7 @@ class DictReader { if (_encoding == "UTF-16" && _mdx) { keyText = Utf16Decoder().decodeUtf16Le(keyEncoded); } else { - keyText = utf8.decode(keyEncoded, allowMalformed: true); + keyText = utf8.decode(keyEncoded); } if (!_mdx) {