Class Utf8Encoder

java.lang.Object
java.nio.charset.CharsetEncoder
org.apache.tomcat.util.buf.Utf8Encoder

public class Utf8Encoder extends CharsetEncoder
Encodes characters as bytes using UTF-8. Extracted from Apache Harmony with some minor bug fixes applied.