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


Groups > comp.lang.python > #74980

Re: Unicode, stdout, and stderr

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'tries': 0.07; 'encode': 0.09; 'latter': 0.09; 'output,': 0.09; 'received:151': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'statements': 0.09; 'btw:': 0.16; 'emanuele': 0.16; 'emit': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Unicode': 0.16; ':-)': 0.16; 'thanks,': 0.17; 'seems': 0.21; 'separate': 0.22; 'header:User-Agent:1': 0.23; 'string,': 0.24; 'unicode': 0.24; 'header:X-Complaints-To:1': 0.27; "doesn't": 0.30; "i'm": 0.30; 'prints': 0.31; 'steven': 0.31; 'writes:': 0.31; 'quite': 0.32; 'checking': 0.33; 'maybe': 0.34; 'no,': 0.35; 'usual': 0.35; 'but': 0.35; 'list': 0.37; 'to:addr :python-list': 0.38; 'list,': 0.38; 'to:addr:python.org': 0.39; 'mailing': 0.39; 'received:org': 0.40; 'che': 0.60; 'reach': 0.63; 'noise': 0.84; 'quando': 0.84; 'reading,': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Lele Gaifax <lele@metapensiero.it>
Subject Re: Unicode, stdout, and stderr
Date Tue, 22 Jul 2014 09:20:51 +0200
Organization Nautilus Entertainments
References <lqkvn0$ptp$1@ger.gmane.org> <87lhrl28ie.fsf@nautilus.nautilus> <lql2h7$pt3$1@ger.gmane.org>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host 151.62.51.3
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux)
Cancel-Lock sha1:2gunvb3pnSzXto8vwHk9EFIjHYc=
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12168.1406013665.18130.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1406013665 news.xs4all.nl 2885 [2001:888:2000:d::a6]:56217
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:74980

Show key headers only | View raw


"Frank Millman" <frank@chagford.com> writes:

>> No, both statements actually emit noise on the standard output, but the
>> former prints the *repr* of the string, the latter tries to encode it to
>> CP437, which you console seems to be using.
>>
>
> Thanks, Lele, but I don't think that is quite right - see my separate 
> response to Steven

Maybe sent as a private message? I do not see it, neither on the
newsgroup I'm reading, nor in the mailing list archives...

ciao, lele.

BTW: checking the mailing list, I somewhat appreciate that the usual
unicode spam(mer) doesn't reach the newsgroup anymore... :-)
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Unicode, stdout, and stderr Lele Gaifax <lele@metapensiero.it> - 2014-07-22 09:20 +0200

csiph-web