mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 12:07:42 +00:00
[fix]自定义词典:xxxx 读取错误,#1826 (#1840)
This commit is contained in:
@@ -86,6 +86,8 @@ public class MultiCustomDictionary extends DynamicCustomDictionary {
|
|||||||
line = IOUtil.removeUTF8BOM(line);
|
line = IOUtil.removeUTF8BOM(line);
|
||||||
firstLine = false;
|
firstLine = false;
|
||||||
}
|
}
|
||||||
|
// remove tab character
|
||||||
|
line = line.replaceAll("\t", "");
|
||||||
|
|
||||||
param = line.split(splitter);
|
param = line.split(splitter);
|
||||||
} while (param[0].length() == 0);
|
} while (param[0].length() == 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user