static int addMultiByteCharSentenceTwo(byte[] b, int start) {
    int i = start;
    b[i++] = (byte) 0xC9; // LATIN SMALL LETTER TURNED A U+0250 (2 bytes)
    b[i++] = (byte) 0x90;
    b[i++] = (byte) 0xC9; // LATIN SMALL LETTER GAMMA U+0263 (2 bytes)
    b[i++] = (byte) 0xA3;
    b[i++] = (byte) 0xC9; // LATIN SMALL LETTER TURNED M U+026F (2 bytes)
    b[i++] = (byte) 0xAF;
    b[i++] = (byte) 0xCA; // LATIN SMALL LETTER S WITH HOOK U+0282 (2 bytes)
    b[i++] = (byte) 0x82;
    b[i++] = (byte) 0x20; // blank " " (1 byte)
    b[i++] = (byte) 0xCA; // LATIN LETTER SMALL CAPITAL L U+029F (2 bytes)
    b[i++] = (byte) 0x9F;
    b[i++] = (byte) 0xCB; // MODIFIER LETTER TRIANGULAR COLON U+02D0 (2 bytes)
    b[i++] = (byte) 0x90;
    b[i++] = (byte) 0x20; // blank " " (1 byte)
    b[i++] = (byte) 0xCB; // RING ABOVE U+02DA (2 bytes)
    b[i++] = (byte) 0x9A;
    b[i++] = (byte) 0xCB; // MODIFIER LETTER SMALL L U+02E1 (2 bytes)
    b[i++] = (byte) 0xA1;
    b[i++] = (byte) 0xCB; // MODIFIER LETTER SMALL X U+02E3 (2 bytes)
    b[i++] = (byte) 0xA3;
    b[i++] = (byte) 0xCB; // MODIFIER LETTER UP ARROWHEAD U+02C4 (2 bytes)
    b[i++] = (byte) 0x84;
    b[i++] = (byte) 0x2E; // FULL STOP "." (1 byte)
    return i;
  }
Test vectorized expression and filter evaluation for strings.
ql/src/test/org/apache/hadoop/hive/ql/exec/vector/expressions/TestVectorStringExpressions.java