Commit 144da4ec authored by Stefan Krah's avatar Stefan Krah

Issue #22747: Workaround for systems without langinfo.h.

parent 267b639a
......@@ -223,6 +223,8 @@ get_locale_encoding(void)
return NULL;
}
return get_codec_name(codeset);
#elif defined(__ANDROID__)
return get_codec_name("UTF-8");
#else
PyErr_SetNone(PyExc_NotImplementedError);
return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment