Translates String from x-www-form-urlEncoded format into text.
ByteArrayOutputStream out = new ByteArrayOutputStream(s.length());
for (int i = 0; i < s.length(); i++) {
int c = (int) s.charAt(i);
if (c == '+") {
out.write(' ");
}
else if (c == '%") {
int c1 = Character.digit(s.charAt(++i), 16);
int c2 = Character.digit(s.charAt(++i), 16);
out.write((char) (c1 * 16 + c2));
}
else {
out.write(c);
}
} // end for
return out.toString();