Java で文字の Unicode コードブロックを調べる
import java.io.*; public class A { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String line; while ( (line = reader.readLine()) != null ) { for ( char c : line.toCharArray() ) { Character.UnicodeBlock block = Character.UnicodeBlock.of(c); System.out.println(c + " is " + block); } } } }