try { if (StringUtils.isNotBlank(reason) && reason.equals(new String(reason.getBytes("ISO8859-1"), "ISO8859-1"))) { reason = new String(reason.getBytes("ISO8859-1"), "UTF-8"); } } catch (UnsupportedEncodingException e) { throw e; }
try { if (StringUtils.isNotBlank(reason) && reason.equals(new String(reason.getBytes("ISO8859-1"), "ISO8859-1"))) { reason = new String(reason.getBytes("ISO8859-1"), "UTF-8"); } } catch (UnsupportedEncodingException e) { throw e; }