Searched refs:loc_codeset (Results 1 – 1 of 1) sorted by relevance
169 char *saved_locale, *loc_codeset; in Py_InitializeEx() local307 loc_codeset = nl_langinfo(CODESET); in Py_InitializeEx()308 if (loc_codeset && *loc_codeset) { in Py_InitializeEx()309 PyObject *enc = PyCodec_Encoder(loc_codeset); in Py_InitializeEx()311 loc_codeset = strdup(loc_codeset); in Py_InitializeEx()316 loc_codeset = NULL; in Py_InitializeEx()323 loc_codeset = NULL; in Py_InitializeEx()328 codeset = icodeset = loc_codeset; in Py_InitializeEx()335 Py_FileSystemDefaultEncoding = loc_codeset; in Py_InitializeEx()