reverted to setting utf8 only if non ASCII