Fix restore setLocale after iconv