Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #61629
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <drsalists@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.06; 'anymore.': 0.09; 'dan': 0.09; 'formatting': 0.09; 'text"': 0.09; 'cc:addr:python-list': 0.11; '"rich': 0.16; '<div': 0.16; '(actually': 0.16; 'cc:name:python list': 0.16; 'formerly': 0.16; 'guess.': 0.16; 'guessing': 0.16; 'happily': 0.16; 'html)': 0.16; 'maintainers': 0.16; 'ought': 0.16; 'slight': 0.16; 'text"': 0.16; 'text?': 0.16; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; "to:name:steven d'aprano": 0.16; 'index': 0.16; 'so.': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'typing': 0.19; 'example': 0.22; 'cc:addr:python.org': 0.22; 'please?': 0.24; 'text.': 0.24; '(or': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'options': 0.25; '>': 0.26; 'posts': 0.26; 'this:': 0.26; 'post': 0.26; 'header:In-Reply-To:1': 0.27; 'wondering': 0.29; 'subject:) ': 0.29; 'characters': 0.30; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'posting': 0.31; '"remove': 0.31; "d'aprano": 0.31; 'so-called': 0.31; 'steven': 0.31; 'file': 0.32; 'this.': 0.32; 'skip:c 30': 0.32; 'quite': 0.32; 'text': 0.33; 'guess': 0.33; 'plain': 0.33; 'message.': 0.35; 'subject: (': 0.35; 'except': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'doing': 0.36; "didn't": 0.36; 'subject:?': 0.36; 'turn': 0.37; 'two': 0.37; 'button': 0.38; 'skip:& 10': 0.38; 'thank': 0.38; 'gmail': 0.38; 'rich': 0.38; 'pm,': 0.38; 'that,': 0.38; 'does': 0.39; 'realize': 0.39; 'even': 0.60; 'read': 0.60; 'games,': 0.60; 'most': 0.60; 'hope': 0.61; 'forum': 0.61; 'you.': 0.62; 'skip:n 10': 0.64; 'e-mails': 0.65; 'here': 0.66; 'anything.': 0.68; 'skip:r 30': 0.69; 'bulk': 0.74; 'message.\xa0': 0.84; 'noise': 0.84; 'rating.': 0.84; 'subject:Movie': 0.84; 'confidence': 0.95; '2013': 0.98 |
| 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:to :cc:content-type; bh=TVPd5RlXMyiKdm53oAbazPOnFe7Q0YLaJOrhUFYgik4=; b=G8E8d0g+T0Hb5PrXM6IFIjjv8A5sj/LvJhoacUG+urD9NLkHKggnyBVxi5LPK0ByL1 EIykp6BEFNlKfIej9AzVfgqFBkXEQ3Wjs/A71/6ZfiP2gOInbTWjgaoIa2VUPi5qovi6 MN/6aTLQAZ9XJJLHC8a7p1RcFqkq964XMZVcVL/YaKU5VIYpKvSeSQDU1QSbWEeM36Y+ CGcm7MUkN+JcsfhYisIXwE632Z57kzsgx6dSJEXs0Vx0b0TNzdhjjMZVeRVLTzrG7hmO NQ/nsvJMCmsE/7RL4qGdkCSnYYq1pLS/ntbYmNyvt0kux9oiR3160hyzB91dnwxEHKDX 4F3w== |
| MIME-Version | 1.0 |
| X-Received | by 10.194.78.77 with SMTP id z13mr3890653wjw.27.1386805184747; Wed, 11 Dec 2013 15:39:44 -0800 (PST) |
| In-Reply-To | <52a8f410$0$29992$c3e8da3$5496439d@news.astraweb.com> |
| References | <CAGGBd_pn4Mv8R0QuueG093YR82a3+EM2Sy+mF5d1aJ1D25yoeA@mail.gmail.com> <2CDEC558-B896-402C-8F70-A3089A5EC93D@gmail.com> <CAGGBd_qOi=rahykpRwTFmXQMnKb4sLd-8T4jGYM6kF_R=9U29w@mail.gmail.com> <l8ab8p$m61$1@ger.gmane.org> <mailman.3936.1386803257.18130.python-list@python.org> <52a8f410$0$29992$c3e8da3$5496439d@news.astraweb.com> |
| Date | Wed, 11 Dec 2013 15:39:44 -0800 |
| Subject | Re: Movie (MPAA) ratings and Python? |
| From | Dan Stromberg <drsalists@gmail.com> |
| To | "Steven D'Aprano" <steve+comp.lang.python@pearwood.info> |
| Content-Type | multipart/alternative; boundary=047d7bfcfc9868dd5c04ed4abe4d |
| Cc | Python List <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.3940.1386805193.18130.python-list@python.org> (permalink) |
| Lines | 138 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1386805193 news.xs4all.nl 2961 [2001:888:2000:d::a6]:49877 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:61629 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Wed, Dec 11, 2013 at 3:24 PM, Steven D'Aprano < steve+comp.lang.python@pearwood.info> wrote: > On Wed, 11 Dec 2013 15:07:35 -0800, Dan Stromberg wrote: > > > $ chardet mpaa-ratings-reasons.list > > mpaa-ratings-reasons.list: windows-1255 (confidence: 0.97) > > > > I'm aware that chardet is playing guessing games, though one would hope > > it would guess well most of the time, and give a reasonable confidence > > rating. > > What reason do you have for thinking that Windows-1255 isn't a reasonable > guess? If the bulk of the text is Latin-1 except perhaps for one or two > Hebrew characters (or what chardet thinks are Hebrew characters), it may > actually be a reasonable guess. > I get a traceback if I try to read the file as Windows-1255. I don't get a traceback if I read it as ISO-8859-1. > If it is a poor guess, perhaps you ought to report it to the chardet > maintainers as a good example of a poor guess. > I was considering that, and may do so. I've also been wondering if ISO-8859-1 is just an octet-oriented codec, so it'll read about anything. There are clearly non-7-bit-ASCII characters in the file that look like line noise in an mrxvt. By the way, this forum is a text-only newsgroup and so-called "Rich > Text" (actually HTML) posts are frowned upon because most people don't > appreciate having to read gunk like this: > > > <div dir="ltr"><br><div class="gmail_extra"><div > > class="gmail_quote"> ... <br> > > <blockquote class="gmail_quote" style="margin:0px 0px 0px > > 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div > > class="im"> ... <br></div></div></div></div> > > If you can, would you please turn off rich text posting when you post > here please? > > Thank you. > Apologies. I didn't realize gmail was doing this. I had thought it would only do so if I used the formatting options in the composer, but perhaps it does so even when just typing text. I formerly used MH; are you using MH? There isn't a lot of e-mail programs that don't do HTML anymore. Even mutt can do HTML with very slight configuration; it's actually quite powerful and ISTR it can do MH folders. I found a "remove formatting" button in gmail's composer, and used it on this message. Does this message look like plain text? I'm not really prepared to give up gmail's quick searching; I used to index my e-mails using pyindex and dovecot, but happily I don't need to anymore.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Movie (MPAA) ratings and Python? Dan Stromberg <drsalists@gmail.com> - 2013-12-11 15:07 -0800
Re: Movie (MPAA) ratings and Python? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-11 23:24 +0000
Re: Movie (MPAA) ratings and Python? Dan Stromberg <drsalists@gmail.com> - 2013-12-11 15:39 -0800
Re: Movie (MPAA) ratings and Python? Ned Batchelder <ned@nedbatchelder.com> - 2013-12-11 20:01 -0500
Disable HTML in forum messages (was: Movie (MPAA) ratings and Python?) Ben Finney <ben+python@benfinney.id.au> - 2013-12-12 12:12 +1100
Re: Disable HTML in forum messages (was: Movie (MPAA) ratings and Python?) rusi <rustompmody@gmail.com> - 2013-12-11 19:23 -0800
Re: Disable HTML in forum messages (was: Movie (MPAA) ratings and Python?) Chris Angelico <rosuav@gmail.com> - 2013-12-12 15:27 +1100
Re: Disable HTML in forum messages (was: Movie (MPAA) ratings and Python?) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-12 11:05 +0000
Re: Disable HTML in forum messages (was: Movie (MPAA) ratings and Python?) Steve Hayes <hayesstw@telkomsa.net> - 2013-12-12 15:36 +0200
Re: Disable HTML in forum messages (was: Movie (MPAA) ratings and Python?) Ian Kelly <ian.g.kelly@gmail.com> - 2013-12-11 18:31 -0700
Re: Movie (MPAA) ratings and Python? Ian Kelly <ian.g.kelly@gmail.com> - 2013-12-11 18:37 -0700
Re: Movie (MPAA) ratings and Python? Dan Stromberg <drsalists@gmail.com> - 2013-12-11 19:52 -0800
Re: Movie (MPAA) ratings and Python? Michael Torrie <torriem@gmail.com> - 2013-12-11 23:22 -0700
Re: Movie (MPAA) ratings and Python? Dave Angel <davea@davea.name> - 2013-12-12 08:56 -0500
csiph-web