iso-8859-1 转换成 utf-8

String newcancelReason = new String(test.getBytes("iso-8859-1"),"utf-8");   

转载于:https://www.cnblogs.com/QAZLIU/p/7089306.html

你可能感兴趣的:(iso-8859-1 转换成 utf-8)