[BRLTTY] Python bindings - 3.6

Gwyn Ciesla limburgher at gmail.com
Thu Jun 22 09:45:29 EDT 2017


On Tue, Jun 20, 2017 at 3:41 AM, Dave Mielke <dave at mielke.cc> wrote:

> [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.
>
> Thank you!  The patch did not resolve the issue for me but exporting that
variable at the beginning of the build does.


> --
> Dave Mielke           | 2213 Fox Crescent | http://Mielke.cc/
> Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
> EMail: Dave at Mielke.cc | Canada  K2A 1H7   | The Bible is the very Word of
> God.
>
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at brltty.com
> For general information, go to: http://brltty.com/mailman/listinfo/brltty
>



-- 
http://cecinestpasunefromage.wordpress.com/
------------------------------------------------
in your fear, seek only peace
in your fear, seek only love

-d. bowie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://brltty.com/pipermail/brltty/attachments/20170622/3ffee722/attachment.html>


More information about the BRLTTY mailing list