Searched refs:loc_codeset (Results 1 – 1 of 1) sorted by relevance
176 char *saved_locale, *loc_codeset; in Py_InitializeEx() local314 loc_codeset = nl_langinfo(CODESET); in Py_InitializeEx()315 if (loc_codeset && *loc_codeset) { in Py_InitializeEx()316 PyObject *enc = PyCodec_Encoder(loc_codeset); in Py_InitializeEx()318 loc_codeset = strdup(loc_codeset); in Py_InitializeEx()323 loc_codeset = NULL; in Py_InitializeEx()330 loc_codeset = NULL; in Py_InitializeEx()335 codeset = icodeset = loc_codeset; in Py_InitializeEx()342 Py_FileSystemDefaultEncoding = loc_codeset; in Py_InitializeEx()