Locale support using libiconv and libicu, cosmetic improvements