private static String decode(String escaped) throws LdapUriException {
try {
byte[] rawdata = decodeUrl(getAsciiBytes(escaped));
return Strings.getString(rawdata, "UTF-8");
} catch (UrlDecoderException e) {
throw new LdapUriException(e.getMessage(), e);
}
}