Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7515
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.028 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'ascii': 0.07; 'utf-8': 0.09; 'output': 0.11; 'angelico': 0.16; 'ascii,': 0.16; 'encode': 0.16; 'fits': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'header:In-Reply-To:1': 0.21; 'subject:problem': 0.22; 'received:209.85.210.174': 0.23; 'received:mail- iy0-f174.google.com': 0.23; 'definition': 0.26; 'message- id:@mail.gmail.com': 0.28; 'see,': 0.30; 'to:addr:python-list': 0.33; 'chris': 0.34; 'characters': 0.34; 'received:google.com': 0.37; 'something': 0.37; 'received:209.85': 0.37; 'but': 0.38; 'subject:: ': 0.38; 'sometimes': 0.39; 'received:209': 0.39; 'spent': 0.39; 'got': 0.39; 'to:addr:python.org': 0.39; 'more': 0.60; 'world': 0.63; 'difference!': 0.84; 'encodings.': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=3t1QPmWz7EsOiwk3F4D10vXkuuy080kY7OuYTCPTA7M=; b=HE+/HHMiHTrqaIhtw9dvaZSgzf5XNPwt5D7WQo5eThBpWfda3mpNc/3t4HL9WxHpde 8rdtjL499PFvUCh7v6EZrkSr3h6C0PJtKN0RZwmfYOACnlWPZNNcai5+0vVvcKI0eGat eWuiwIowsabbUNJ/dCHz4z9uSjk51SE3+OTIQ= |
| DomainKey-Signature | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=LxDlmP6TORIuPZTyeAEeE0BZbygKIg2zBxpxabTuioIPxfeCBgimuh2jyHUoEWDkxm 0yJ7Mzhk5KCPlVirJ1IbKvUwzzjFf+GkIE6tr0DWFfENG6XKR3ZUpaxv6KzsvNrE7+NJ olhFIOnx4YrtbV3S6gvFQ8DbTlUFtP08h9hrk= |
| MIME-Version | 1.0 |
| In-Reply-To | <4df61b7d$0$31461$a729d347@news.telepac.pt> |
| References | <4df02e04$0$1779$a729d347@news.telepac.pt> <mailman.40.1307588443.11593.python-list@python.org> <4df137a7$0$30580$a729d347@news.telepac.pt> <pan.2011.06.09.21.46.15.672000@nowhere.com> <4df16f2e$0$30572$a729d347@news.telepac.pt> <8762oewjao.fsf@benfinney.id.au> <4df2340d$0$30577$a729d347@news.telepac.pt> <mailman.85.1307725174.11593.python-list@python.org> <4df61b7d$0$31461$a729d347@news.telepac.pt> |
| Date | Tue, 14 Jun 2011 00:49:06 +1000 |
| Subject | Re: the stupid encoding problem to stdout |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.168.1307976549.11593.python-list@python.org> (permalink) |
| Lines | 14 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1307976550 news.xs4all.nl 49038 [::ffff:82.94.164.166]:37688 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:7515 |
Show key headers only | View raw
2011/6/14 Sérgio Monteiro Basto <sergiomb@sapo.pt>: > And see, I can send ascii and utf-8 to utf-8 output and never have problems, > but if I send ascii and utf-8 to ascii files sometimes got encode errors. > If something fits inside 7-bit ASCII, it is by definition valid UTF-8. This is not a coincidence. Those hours you've spent grokking this are not wasted, if you now have a comprehension of characters vs encodings. More people in the world need to understand that difference! :) Chris Angelico
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
the stupid encoding problem to stdout Sérgio Monteiro Basto <sergiomb@sapo.pt> - 2011-06-09 03:18 +0100
Re: the stupid encoding problem to stdout Ben Finney <ben+python@benfinney.id.au> - 2011-06-09 12:39 +1000
Re: the stupid encoding problem to stdout Sérgio Monteiro Basto <sergiomb@sapo.pt> - 2011-06-09 22:16 +0100
Re: the stupid encoding problem to stdout Ben Finney <ben+python@benfinney.id.au> - 2011-06-10 09:19 +1000
Re: the stupid encoding problem to stdout Benjamin Kaplan <benjamin.kaplan@case.edu> - 2011-06-08 20:00 -0700
Re: the stupid encoding problem to stdout Sérgio Monteiro Basto <sergiomb@sapo.pt> - 2011-06-09 22:14 +0100
Re: the stupid encoding problem to stdout Nobody <nobody@nowhere.com> - 2011-06-09 22:46 +0100
Re: the stupid encoding problem to stdout Terry Reedy <tjreedy@udel.edu> - 2011-06-09 20:14 -0400
Re: the stupid encoding problem to stdout Sérgio Monteiro Basto <sergiomb@sapo.pt> - 2011-06-10 02:11 +0100
Re: the stupid encoding problem to stdout Ben Finney <ben+python@benfinney.id.au> - 2011-06-10 11:45 +1000
Re: the stupid encoding problem to stdout Sérgio Monteiro Basto <sergiomb@sapo.pt> - 2011-06-10 02:59 +0100
Re: the stupid encoding problem to stdout Sérgio Monteiro Basto <sergiomb@sapo.pt> - 2011-06-10 16:11 +0100
Re: the stupid encoding problem to stdout Ian Kelly <ian.g.kelly@gmail.com> - 2011-06-10 10:58 -0600
Re: the stupid encoding problem to stdout Sérgio Monteiro Basto <sergiomb@sapo.pt> - 2011-06-13 15:15 +0100
Re: the stupid encoding problem to stdout Chris Angelico <rosuav@gmail.com> - 2011-06-14 00:49 +1000
Re: the stupid encoding problem to stdout Chris Angelico <rosuav@gmail.com> - 2011-06-11 08:07 +1000
Re: the stupid encoding problem to stdout "Mark Tolonen" <metolone+gmane@gmail.com> - 2011-06-09 17:57 -0700
Re: the stupid encoding problem to stdout Sérgio Monteiro Basto <sergiomb@sapo.pt> - 2011-06-10 02:17 +0100
Re: the stupid encoding problem to stdout Laurent Claessens <moky.math@gmail.com> - 2011-06-10 07:47 +0200
Re: the stupid encoding problem to stdout Laurent Claessens <moky.math@gmail.com> - 2011-06-10 07:47 +0200
Re: the stupid encoding problem to stdout Laurent Claessens <moky.math@gmail.com> - 2011-06-10 07:47 +0200
csiph-web