Make the utf8 encoding for reading and writing