@Override
    public void serialize(Asn1OutputStream out, String obj) {
        out.write(obj.getBytes(StandardCharsets.UTF_8));
    }
@Test
    public void shouldSerialize() {
        assertArrayEquals(
            new byte[] { -30, -126, -84, '-' },
            serialize(new Utf8StringConverter(), String.class,"€-")
        );
    }