add u2800 as blank char

This commit is contained in:
Looly 2022-10-10 22:10:23 +08:00
parent da21e6b071
commit 09e8d7c6d1
2 changed files with 7 additions and 2 deletions

View File

@ -261,7 +261,9 @@ public class CharUtil implements CharPool {
|| c == '\u202a'
|| c == '\u0000'
// issue#I5UGSQHangul Filler
|| c == '\u3164';
|| c == '\u3164'
// Braille Pattern Blank
|| c == '\u2800';
}
/**

View File

@ -58,7 +58,10 @@ public class CharUtilTest {
@Test
public void issueI5UGSQTest(){
final Character c = '\u3164';
char c = '\u3164';
Assert.assertTrue(CharUtil.isBlankChar(c));
c = '\u2800';
Assert.assertTrue(CharUtil.isBlankChar(c));
}
}