List of usage examples for org.apache.commons.codec.net QuotedPrintableCodec encodeQuotedPrintable
public static final byte[] encodeQuotedPrintable(BitSet printable, byte[] bytes)
From source file:org.gcaldaemon.core.ldap.ContactLoader.java
private static final String encodeQuotedPrintable(String string) throws Exception { byte[] bytes = StringUtils.encodeString(string, StringUtils.UTF_8); bytes = QuotedPrintableCodec.encodeQuotedPrintable(null, bytes); return StringUtils.decodeToString(bytes, StringUtils.US_ASCII); }