Fortran: Implement read_x for UTF-8 encoded files.