Message 310029 - Python tracker
> New changeset 7ed7aead9503102d2ed316175f198104e0cd674c by Victor Stinner in branch 'master': > bpo-29240: Fix locale encodings in UTF-8 Mode (#5170) Oh, this change broke test_nonascii() of test_readline() on FreeBSD. Previsously, readline used ASCII/surrogateescape encoding for the POSIX locale. Now, mbstowcs() / wcstombs() is called directly, with the surrogateescape error handler.