String name = new String(dto.getPatrolUser().getBytes("ISO-8859-1"),"UTF-8"); 转载于:https://www.cnblogs.com/moonlignt/p/7299718.html