Force encoding to UTF-8 when normalizing comp name

This fixes a crash on non `en_US.UTF-8` systems