BUG-文本去除Unicode特殊字符

This commit is contained in:
dxfeng 2024-05-13 17:23:54 +08:00
parent 4fc23693b6
commit 0881577d5d
1 changed files with 1 additions and 1 deletions

View File

@ -209,6 +209,6 @@ public class QllResumePo {
if (StringUtils.isBlank(str)) {
return "";
}
return str.replace("\\n", "\n");
return str.replaceAll("[\\pC]", "").replace("\\n", "\n").replace("\\r", "");
}
}