iso-8859-1 转换成 utf-8

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

原文地址:https://www.cnblogs.com/QAZLIU/p/7089306.html