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


Groups > comp.lang.python > #64180

Re: Guessing the encoding from a BOM

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!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.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'heavily': 0.04; 'say,': 0.05; 'socket': 0.07; 'assuming': 0.09; 'broke': 0.09; 'cc:addr :python-list': 0.11; 'jan': 0.12; 'anyway': 0.14; '(there': 0.16; 'contexts,': 0.16; 'equal.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'losing': 0.16; 'usable': 0.16; 'usually.': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'saying': 0.22; 'cc:addr:python.org': 0.22; "aren't": 0.24; "haven't": 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'options': 0.25; 'possibly': 0.26; 'web.': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'change,': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'url:wiki': 0.31; 'usually': 0.31; 'assumes': 0.31; 'obliged': 0.31; 'url:wikipedia': 0.31; 'linux': 0.33; 'everyone': 0.33; 'standards': 0.33; 'role': 0.34; '"the': 0.34; 'subject:the': 0.34; 'subject:from': 0.34; 'beyond': 0.35; 'equal': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'ibm': 0.36; 'done': 0.36; 'url:org': 0.36; 'so,': 0.37; 'area': 0.37; 'does': 0.39; 'weight': 0.39; 'then,': 0.60; 'break': 0.61; 'areas': 0.61; 'more': 0.64; 'results': 0.69; 'industry': 0.73; 'leaders': 0.83; 'fortunately,': 0.84; 'freebsd': 0.84; 'much,': 0.84; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=5+UMAxYxx+qS02j3zyKmWoxmvZgPJ/E35cCZkDYp5IU=; b=zVsqITZAQ8rLZ5bPEZPOg5F2QDXhg1/tO/ZnlGPDHDYSBPv3v0ydhzYYoPkyTHo0dv AnwQ1WGV/TOKdmCBoytbJpAZYK4WjxWUuCPCTeT9RlEzoE28FbOxiNmHw2ioXG8fLPjB K48VEDMfw4KsdCxSK3ONyincD5d6dMBYNLnTC/t6wrOyHtZ3k36Ry4ZBeiY6lmZzKU1e Ez+oYChQNKvjWmNof8/XQqOjSSWIM9Q2C5FrngH3tvmlsWKRWNVaeLpxDqYRUggCg5Yc iJFaYt1iTiZeUbFEFjMw1KTyduI5sEPc6EckkrjCHi7dop3T8uuZrPOh1TV5q+Jg+BG3 KZlQ==
MIME-Version 1.0
X-Received by 10.66.129.133 with SMTP id nw5mr3228608pab.98.1389977403039; Fri, 17 Jan 2014 08:50:03 -0800 (PST)
In-Reply-To <edc1acb8-be97-43c9-819b-3af18086d5d0@googlegroups.com>
References <CAPTjJmqyO0UHrq31510iNeoQ2TcrJnosV0A6oHQOt5i-gz3njA@mail.gmail.com> <1389901049.40172.YahooMailBasic@web163804.mail.gq1.yahoo.com> <CAPTjJmqNhokKF8X3jHNZrW0iEt8foTaMM+26a3+2O9FG4rMPpw@mail.gmail.com> <mailman.5618.1389922759.18130.python-list@python.org> <32c1b684-1ff7-48c0-af7a-cd15235ea531@googlegroups.com> <86zjmufubv.fsf@gmail.com> <edc1acb8-be97-43c9-819b-3af18086d5d0@googlegroups.com>
Date Sat, 18 Jan 2014 03:50:02 +1100
Subject Re: Guessing the encoding from a BOM
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.5649.1389977412.18130.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1389977412 news.xs4all.nl 2835 [2001:888:2000:d::a6]:56005
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:64180

Show key headers only | View raw


On Sat, Jan 18, 2014 at 3:30 AM, Rustom Mody <rustompmody@gmail.com> wrote:
> If you or I break a standard then, well, we broke a standard.
> If Microsoft breaks a standard the standard is obliged to change.
>
> Or as the saying goes, everyone is equal though some are more equal.

https://en.wikipedia.org/wiki/800_pound_gorilla

Though Microsoft has been losing weight over the past decade or so,
just as IBM before them had done (there was a time when IBM was *the*
800lb gorilla, pretty much, but definitely not now). In Unix/POSIX
contexts, Linux might be playing that role - I've seen code that
unwittingly assumes Linux more often than, say, assuming FreeBSD - but
I haven't seen a huge amount of "the standard has to change, Linux
does it differently", possibly because the areas of Linux-assumption
are areas that aren't standardized anyway (eg additional socket
options beyond the spec).

The one area where industry leaders still heavily dictate to standards
is the web. Fortunately, it usually still results in usable standards
documents that HTML authors can rely on. Usually. *twiddles fingers*

ChrisA

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


Thread

Re: Guessing the encoding from a BOM Tim Chase <tim@thechases.com> - 2014-01-16 19:40 -0600
  Re: Guessing the encoding from a BOM Rustom Mody <rustompmody@gmail.com> - 2014-01-16 21:08 -0800
    Re: Guessing the encoding from a BOM Pete Forman <petef4+usenet@gmail.com> - 2014-01-17 16:26 +0000
      Re: Guessing the encoding from a BOM Rustom Mody <rustompmody@gmail.com> - 2014-01-17 08:30 -0800
        Re: Guessing the encoding from a BOM Chris Angelico <rosuav@gmail.com> - 2014-01-18 03:50 +1100
      Re: Guessing the encoding from a BOM Chris Angelico <rosuav@gmail.com> - 2014-01-18 03:33 +1100

csiph-web