Encode fields in UTF8 when dumping assignment data.