(unicodeToLocale): Use getdefaultlocale instead of getlocale because it yields a usable encoding name on a german windows 2000