Write the UTF-8 and ASCII encoded byte arrays