profiles: Build profiles in a UTF-8 locale.