Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Random832 Newsgroups: comp.lang.python Subject: Re: Processing text data with different encodings Date: Tue, 28 Jun 2016 11:01:37 -0400 Lines: 11 Message-ID: References: <57725ee6$0$1600$c3e8da3$5496439d@news.astraweb.com> <487a4dxgc.ln2@news.c0t0d0s0.de> <57728f27$0$1621$c3e8da3$5496439d@news.astraweb.com> <1467126097.2528395.650908785.4906EC42@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 2N8SCqo3GakvHUh5dFWxhAiqhlWLYEHKzCy1lHFNPDeg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:text': 0.04; 'counting': 0.07; 'present,': 0.07; 'received:internal': 0.09; 'encodings': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:66.111.4.27': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:out3-smtp.messagingengine.com': 0.16; 'received:psf.io': 0.16; 'us-ascii': 0.16; 'wrote:': 0.16; '"you': 0.18; 'header:In- Reply-To:1': 0.24; "i've": 0.25; 'argue': 0.29; "i'm": 0.30; 'maybe': 0.33; "d'aprano": 0.33; 'steven': 0.33; 'tue,': 0.34; 'text': 0.35; 'but': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'sources': 0.37; 'received:66': 0.38; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'header :Message-Id:1': 0.61; 'side': 0.62; 'different': 0.63; 'more.': 0.63; 'fragments': 0.84 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=FSBT/yHhtQj6nWBnugjGXL+vwWU=; b=SMa/+8 2lMAOnRsjXDDcEJFFJxBvsC+1YSzN3WNxifv7qNvVQ2AFlTo4kY0d3fwtrx36aCu LV6YtwxeG+8hWEcbAeKDOQtwLAHJcNIilnpJHtqJKc6GbfThkbozM3CFZwPPIyuE RpWAJvt5Atumv9wyymNj2eYC4pa+oGQXXyy3Q= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=FSBT/yHhtQj6nWB nugjGXL+vwWU=; b=DbWU4pHeTNSrWXwsxppikeIHn3ZXqr82Id51nuY+CeJR10L +b/fVVLqE0ZuP4XIJNgUfnDfot/9wlMFIOJPZOPRUbTn8Th8vu4QjKDKA4BAoeln EYpgD23pfGHcRf53U9KWpOO630WBPWhW0YKQ+LwuJj1uoxqchXTXcO/ShXCc= X-Sasl-Enc: A3cpUtOTPllznO1orHqGQ6rTzExusVJRHBre3lg8//qw 1467126097 X-Mailer: MessagingEngine.com Webmail Interface - ajax-92c7b58a In-Reply-To: <57728f27$0$1621$c3e8da3$5496439d@news.astraweb.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <1467126097.2528395.650908785.4906EC42@webmail.messagingengine.com> X-Mailman-Original-References: <57725ee6$0$1600$c3e8da3$5496439d@news.astraweb.com> <487a4dxgc.ln2@news.c0t0d0s0.de> <57728f27$0$1621$c3e8da3$5496439d@news.astraweb.com> Xref: csiph.com comp.lang.python:110706 On Tue, Jun 28, 2016, at 10:52, Steven D'Aprano wrote: > "you will find THREE OR FOUR different encodings in one email. > I think at the sending side they just glue different text > fragments from different sources together without thinking > about the encoding" > > But I'm not going to argue any more. Maybe I've misunderstood you Well, given that the other encodings he named were us-ascii and latin-1, I think he was just counting windows-1252 as three different encodings depending on what characters are present, as hyperbole.