code: private String decodeStr(String str) {
          try {
              return MimeUtility.decodeText(str);
          } catch (UnsupportedEncodingException e) {
              return str;
          }
      }
docs: Returns the decoded string, in case it contains non us-ascii characters.
  Returns the same string if it doesn't or the passed value in case
  of an UnsupportedEncodingException.
  
  @param str string to be decoded
  @return the decoded string, in case it contains non us-ascii characters;
  or the same string if it doesn't or the passed value in case
  of an UnsupportedEncodingException.