transform and clean utf-8