Check if a data is utf-8