Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #85011
| From | Peter Otten <__peter__@web.de> |
|---|---|
| Subject | Re: pydoc3.5 borks on my Mac |
| Date | 2015-02-01 18:20 +0100 |
| Organization | None |
| References | <CANc-5Uy8dHuosWgnXo7PdrR-Or7tY4EEHWaHte2nTNjtOk9H2g@mail.gmail.com> <CANc-5Uz7QXgF=pTAz++9cuDSm_JYiRAdsy55VZnioY_R5rGgZw@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.18365.1422811212.18130.python-list@python.org> (permalink) |
Skip Montanaro wrote: > I finally got sort of smart, and started up a pydoc server. Looking at > the sqlite3 docs through my browser, I see right off the bat, I see > > #-*- coding: ISO-8859-1 -*- > # pysqlite2/__init__.py: the pysqlite2 package. > # > # Copyright (C) 2005 Gerhard Häring <gh@ghaering.de> > > so my challenge is how to tell Python my terminal's encoding? It's > clearly assuming ASCII. Mine is actually normally set to UTF-8, but I > can select from a number of different encodings in the Preferences. Try setting the environment variable PYTHONIOENCODING=UTF-8
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: pydoc3.5 borks on my Mac Peter Otten <__peter__@web.de> - 2015-02-01 18:20 +0100
csiph-web