Solve crash when model contains unicode fields.