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


Groups > comp.lang.python > #53672

Re: UnicodeDecodeError issue

Path csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <cameron@cskk.homeip.net>
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; 'cc:addr:python-list': 0.11; '12:38,': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'received:211.29': 0.16; 'received:211.29.132': 0.16; 'received:cskk.homeip.net': 0.16; 'received:homeip.net': 0.16; 'received:optusnet.com.au': 0.16; 'received:syd.optusnet.com.au': 0.16; 'simpson': 0.16; 'subject:issue': 0.16; 'uses,': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; 'williams': 0.24; 'cheers,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'nature': 0.30; 'file': 0.32; 'stuff': 0.32; 'hundreds': 0.35; 'but': 0.35; 'received:com.au': 0.36; 'charset:us-ascii': 0.36; 'received:211': 0.38; 'dave': 0.60; 'content-disposition:inline': 0.62; 'angel': 0.91
Date Thu, 5 Sep 2013 14:42:08 +1000
From Cameron Simpson <cs@zip.com.au>
To Dave Angel <davea@davea.name>
Subject Re: UnicodeDecodeError issue
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <l079j9$8rd$1@ger.gmane.org>
User-Agent Mutt/1.5.21 (2010-09-15)
References <l079j9$8rd$1@ger.gmane.org>
X-Optus-CM-Score 0
X-Optus-CM-Analysis v=2.1 cv=DstvpgP+ c=1 sm=1 tr=0 a=YuQlxtEQCowy2cfE5kc7TA==:117 a=YuQlxtEQCowy2cfE5kc7TA==:17 a=ZtCCktOnAAAA:8 a=PO7r1zJSAAAA:8 a=LcaDllckn3IA:10 a=kj9zAlcOel0A:10 a=vrnE16BAAAAA:8 a=8GUTJHQ9iB4A:10 a=Y6lz3lz9aglv2UCbVAkA:9 a=CjuIK1q_8ugA:10 a=6R4wD-2rPHsA:10 a=S_TAnhFfFxMA:10
Cc python-list@python.org
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.76.1378356144.5461.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1378356144 news.xs4all.nl 15944 [2001:888:2000:d::a6]:55945
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:53672

Show key headers only | View raw


On 04Sep2013 12:38, Dave Angel <davea@davea.name> wrote:
| 'file' isn't magic.

Chuckle...

| What heuristics it uses, I don't know, but it has
| hundreds of them.

... because the file of heuristics is /usr/share/file/magic :-)
See "man 5 magic".

Cheers,
-- 
Cameron Simpson <cs@zip.com.au>

A vacuum is a hell of a lot better than some of the stuff that nature
replaces it with.       - Tenessee Williams

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


Thread

Re: UnicodeDecodeError issue Cameron Simpson <cs@zip.com.au> - 2013-09-05 14:42 +1000

csiph-web