public static final String convertHexChars(final String value){
  if (value == null) {
    return value;
  }
  final int escapeChar=value.indexOf(hashInt);
  if (escapeChar == -1) {
    return value;
  }
  final StringBuilder newString=new StringBuilder();
  final int length=value.length();
  char c;
  for (int ii=0; ii < length; ii++) {
    c=value.charAt(ii);
    if (c == hashInt) {
      ii++;
      int end=ii + 2;
      if (end > length) {
        end=length;
      }
      final String key=value.substring(ii,end);
      c=(char)Integer.parseInt(key,16);
      ii++;
      if (c != spaceInt) {
        newString.append(c);
      }
    }
 else {
      newString.append(c);
    }
  }
  return newString.toString();
}

public static final String convertHexChars ( final String value ) { if ( value == null ) { return value ; } final int escapeChar = value . indexOf ( hashInt ) ; if ( escapeChar == - 1 ) { return value ; } final StringBuilder newString = new StringBuilder ( ) ; final int length = value . length ( ) ; char c ; for ( int ii = 0 ; ii < length ; ii ++ ) { c = value . charAt ( ii ) ; if ( c == hashInt ) { ii ++ ; int end = ii + 2 ; if ( end > length ) { end = length ; } final String key = value . substring ( ii , end ) ; c = ( char ) Integer . parseInt ( key , 16 ) ; ii ++ ; if ( c != spaceInt ) { newString . append ( c ) ; } } else { newString . append ( c ) ; } } return newString . toString ( ) ; }
turn any hex values ( ie # e4 ) into chars
