add blank char

This commit is contained in:
Looly 2022-10-08 16:53:27 +08:00
parent 8ebe748990
commit 55f93ceff1
2 changed files with 9 additions and 1 deletions

View File

@ -259,7 +259,9 @@ public class CharUtil implements CharPool {
|| Character.isSpaceChar(c)
|| c == '\ufeff'
|| c == '\u202a'
|| c == '\u0000';
|| c == '\u0000'
// issue#I5UGSQHangul Filler
|| c == '\u3164';
}
/**

View File

@ -55,4 +55,10 @@ public class CharUtilTest {
Assert.assertEquals('⑫', CharUtil.toCloseByNumber(12));
Assert.assertEquals('⑳', CharUtil.toCloseByNumber(20));
}
@Test
public void issueI5UGSQTest(){
final Character c = '\u3164';
Assert.assertTrue(CharUtil.isBlankChar(c));
}
}