public static String unicode2Utf8(String sourceStr) throws UnsupportedEncodingException
{
byte[] converttoBytes = sourceStr.getBytes("UTF-8");
String destStr = new String(converttoBytes, "UTF-8");
return destStr;
}
转载于:https://my.oschina.net/u/856051/blog/480798