Some bytes-versus-characters corrections.