Unicode regex

Binaries which contain unicode characters should specify the encoding when constructed. Otherwise, only the last byte of the encoded character will be stored in the binary.
It seems that you need to update the `p_advance_index` function so that it properly accounts for UTF8 characters.