
15 May
2019
15 May
'19
12:07 p.m.
On Tue, May 14, 2019, 19:52 Steve Dower steve.dower@python.org wrote:
It looks like Py_DecodeLocale() is available very early on - why wouldn't we recommend using this function? It seems to be nearly a drop-in replacement for mbtowcs in the samples, and if memory allocation is a big deal perhaps we could just add a version that writes to a buffer?
Actually, it is recommended in the docs https://docs.python.org/3/c-api/init.html#c.Py_SetPythonHome
Sebastian