Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "D'Arcy J.M. Cain" Newsgroups: comp.lang.python Subject: Re: Unicode failure (Solved) Date: Sat, 5 Dec 2015 13:14:43 -0500 Organization: Vybe Networks Inc. Lines: 20 Message-ID: References: <20151204130738.76313c43@imp> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de qLTaaMUFnGsWhPPZGZxTFgQt3uZ59s/AVEVguGGoNrnw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '-0500': 0.07; 'cc:addr :python-list': 0.09; 'apache': 0.14; 'fail,': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'should.': 0.16; 'subject:Unicode': 0.16; 'wrote:': 0.16; 'config': 0.18; 'windows': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'cc:no real name:2**0': 0.22; 'dec': 0.23; 'header:In-Reply-To:1': 0.24; 'all.': 0.24; 'fri,': 0.27; 'windows,': 0.29; 'environment': 0.29; 'character': 0.29; 'print': 0.30; 'posts': 0.30; 'idle': 0.33; 'problem.': 0.35; 'but': 0.36; 'subject:: ': 0.37; 'thanks': 0.37; 'things': 0.38; 'skip:p 20': 0.38; 'entire': 0.61; 'information': 0.63; 'received:98.158': 0.84 In-Reply-To: X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:100042 On Fri, 4 Dec 2015 18:28:22 -0500 Terry Reedy wrote: > Tk widgets, and hence IDLE windows, will print any character from > \u0000 to \uffff without raising, even if the result is blank or =EF=BF= =BF. > Higher codepoints fail, but allowing the entire BMP is better than > any Windows codepage. Thanks to all. Following up on the various posts brought me to information that solved my problem. Basicall I added "export PYTHONIOENCODING=3Dutf8" to my environment and "SetEnv PYTHONIOENCODING utf8" in my Apache config and now things are working as they should. Thanks all. --=20 D'Arcy J.M. Cain Vybe Networks Inc. http://www.VybeNetworks.com/ IM:darcy@Vex.Net VoIP: sip:darcy@VybeNetworks.com