Java tutorial
public class Main { public static void main(String[] args) { char ch1 = ' '; char ch2 = '\u2028'; // LINE_SEPARATOR boolean b1 = Character.isSpaceChar(ch1); boolean b2 = Character.isSpaceChar(ch2); System.out.println("ch1 is a space character is " + b1); System.out.println("ch2 is a space character is " + b2); } }