BUG-文本去除Unicode特殊字符

This commit is contained in:
dxfeng 2024-05-13 17:23:24 +08:00
parent 8b0ebe02c8
commit 486a7413e4
1 changed files with 1 additions and 1 deletions

View File

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