Samplejava
import com.spreada.utils.chinese.ZHConverter; public class Test{ public static void main(String[] args){ ZHConverter converter = ZHConverter.getInstance(ZHConverter.SIMPLIFIED); String simplifiedStr = converter.convert("興奮生意"); System.out.println(simplifiedStr); } }
ZHConverterblog
zhconverter的示例與下載連接: http://files.cnblogs.com/files/25-to-life/zhconvertor.zipip