不支持空格 不支持\n换行。UnicodeBlock ub = Character.UnicodeBlock.of((array[i+1])); 数组越界,改成UnicodeBlock ub = Character.UnicodeBlock.of((array[i]));