解决办法:String str = new String ( string.getBytes(),”utf-8”); 转载于:https://www.cnblogs.com/zqq3436/p/5317496.html