check if UTF-8 has already existed before adding it
also fix an issue which locales with derivative like uz_UZ@cyrillic
is incorrectly converted to uz_UZ@cyrillic.UTF-8
, it should be uz_UZ.UTF-8@cyrillic
also fix an issue which locales with derivative like uz_UZ@cyrillic
is incorrectly converted to uz_UZ@cyrillic.UTF-8
, it should be uz_UZ.UTF-8@cyrillic