On Thu, Jun 14, 2018 at 10:43:56AM -0500, Matthias Maier wrote: > This commit removes the PYTHON_UTF8 workaround. The problem with setting > > LC_ALL= LANG=C LC_CTYPE=en_US.UTF-8 > > is that the en_US.UTF-8 locale might not be available. In this case > setting above locales results in build errors even though another UTF-8 > locale was originally set [1]. The only stable way of fixing the > encoding problem is by explicitly annotating encoding/decoding in the > python script.
Thanks for the patches. It's nice to see that hack go away. Patch 2/2 is necessary to make the removal of PYTHON_UTF8 safe, correct? In that case, I plan to reverse the order of the patches before applying. > > [1] https://bugs.gentoo.org/657766 [...] -- Eduardo