Compare UTF-8 string to byte string