public static ByteString copyFromUtf8(final String text)
    {
        return new ByteString(STRING.ser(text));
        /*
         * @try { return new ByteString(text.getBytes("UTF-8")); } catch (UnsupportedEncodingException e) { throw new
         * RuntimeException("UTF-8 not supported?", e); }
         */
    }
Encodes {@code text} into a sequence of UTF-8 bytes and returns the result as a {@code ByteString}.
protostuff-api/src/main/java/io/protostuff/ByteString.java