Here you can find the source of toSemiangle(String src)
public static String toSemiangle(String src)
//package com.java2s; public class Main { public static String toSemiangle(String src) { char[] c = src.toCharArray(); for (int index = 0; index < c.length; index++) { if (c[index] == 12288) { c[index] = (char) 32; } else if (c[index] > 65280 && c[index] < 65375) { // ?????? c[index] = (char) (c[index] - 65248); }//from w w w.ja v a 2s. com } return String.valueOf(c); } }