ensure utf8-encoding