[fix]自定义词典:xxxx 读取错误,#1826 (#1840)

This commit is contained in:
zhaodongsheng
2024-10-28 13:23:35 +08:00
committed by GitHub
parent 14badcd4ae
commit c07b64d33c

View File

@@ -86,6 +86,8 @@ public class MultiCustomDictionary extends DynamicCustomDictionary {
line = IOUtil.removeUTF8BOM(line);
firstLine = false;
}
// remove tab character
line = line.replaceAll("\t", "");
param = line.split(splitter);
} while (param[0].length() == 0);