@Override
    public boolean equals(Object o) {
        if (o instanceof Utf8String) {
            return s.equals(o.toString());
        }
        return super.equals(o);
    }
This will create a string based on the utf8 sequence.

@param utf8 The backing array
vespajlib/src/main/java/com/yahoo/text/Utf8String.java