[quoted lines by Gwyn Ciesla on 2017/06/19 at 10:37 -0500] >I cannot confirm 3.3, but I can confirm that 3.5 works.
I was able to reproduce it. The problem is that Python 3.6 has introduced this new warning: Python runtime initialized with LC_CTYPE=C (a locale with default ASCII encoding), which may cause Unicode compatibility problems. Using C.UTF-8, C.utf8, or UTF-8 (if available) as alternative Unicode-compatible locales is recommended. The solution is to set PYTHONCOERCECLOCALE=0. This patch (attached as python.patch) does this and has been committed to brltty's master branch. -- Dave Mielke | 2213 Fox Crescent | http://Mielke.cc/ Phone: 1-613-726-0014 | Ottawa, Ontario | http://Mielke.cc/bible/ EMail: [email protected] | Canada K2A 1H7 | The Bible is the very Word of God.
diff --git a/Bindings/Python/bindings.m4 b/Bindings/Python/bindings.m4 index 58f0216..07cb3d2 100644 --- a/Bindings/Python/bindings.m4 +++ b/Bindings/Python/bindings.m4 @@ -18,6 +18,7 @@ ############################################################################### AC_DEFUN([BRLTTY_PYTHON_BINDINGS], [dnl +export PYTHONCOERCECLOCALE=0 PYTHON_OK=true AC_PATH_PROG([PYTHON], [python])
_______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://brltty.com/mailman/listinfo/brltty
