Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85011 > unrolled thread

Re: pydoc3.5 borks on my Mac

Started byPeter Otten <__peter__@web.de>
First post2015-02-01 18:20 +0100
Last post2015-02-01 18:20 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: pydoc3.5 borks on my Mac Peter Otten <__peter__@web.de> - 2015-02-01 18:20 +0100

#85011 — Re: pydoc3.5 borks on my Mac

FromPeter Otten <__peter__@web.de>
Date2015-02-01 18:20 +0100
SubjectRe: pydoc3.5 borks on my Mac
Message-ID<mailman.18365.1422811212.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web