diff --git a/lib/src/dict_reader_base.dart b/lib/src/dict_reader_base.dart index a5c2d6d..5eee840 100644 --- a/lib/src/dict_reader_base.dart +++ b/lib/src/dict_reader_base.dart @@ -419,12 +419,16 @@ class DictReader { keyBlock.sublist(keyStartIndex + _numberWidth, keyEndIndex); late String keyText; - if (_encoding == "UTF-16") { + if (_encoding == "UTF-16" && _mdx) { keyText = utf16.decode(keyEncoded); } else { keyText = utf8.decode(keyEncoded); } + if (!_mdx) { + keyText = keyText.replaceFirst(r"\", ""); + } + keyStartIndex = keyEndIndex + width; keyList.add((keyId, keyText));