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


Groups > comp.lang.python > #35292

Re: how to detect the encoding used for a specific text data ?

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <d@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.066
X-Spam-Evidence '*H*': 0.87; '*S*': 0.00; 'context': 0.05; 'subject:text': 0.05; 'list?': 0.07; 'assume': 0.11; 'do,': 0.15; 'digest': 0.15; 'benjamin': 0.16; 'entry.': 0.16; 'wrote:': 0.17; 'question.': 0.20; 'recipients.': 0.22; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'question': 0.27; 'smart': 0.29; 'related': 0.30; 'subject: ?': 0.30; 'error': 0.30; 'subject:data': 0.33; 'to:addr:python-list': 0.33; 'form.': 0.33; 'another': 0.33; 'or,': 0.34; 'list': 0.35; 'similar': 0.35; 'add': 0.36; 'but': 0.36; 'depends': 0.36; 'email addr:python.org': 0.36; 'client': 0.36; "i'll": 0.36; 'enough': 0.36; 'subject:: ': 0.38; 'sure': 0.38; 'there,': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'your': 0.60; 'most': 0.61; 'remove': 0.61; 'email name:python-list': 0.62; 'note:': 0.64; 'header :Reply-To:1': 0.68; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'oscar': 0.84; 'received:74.208.4.194': 0.84; 'reply,': 0.93
Date Fri, 21 Dec 2012 09:14:29 -0500
From Dave Angel <d@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1
MIME-Version 1.0
To python-list@python.org
Subject Re: how to detect the encoding used for a specific text data ?
References <c6eeb756-65be-4c50-88a8-1f94bd772fe8@googlegroups.com> <CAHVvXxTe8voezOaf-yYoRc73L3e7hCzTM8bfZ-G5DDe-DE9ZUg@mail.gmail.com>
In-Reply-To <CAHVvXxTe8voezOaf-yYoRc73L3e7hCzTM8bfZ-G5DDe-DE9ZUg@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:Zp/a/CeEvBSg0sGBvPRb1iFiLMBBCmn784pdx/bwXyX FalpKt6uwRcv3Z0MR5CK6tkNtgdNKRUHKQH2Gf8C8EnvzZjDTh ZFOPgM3JJF0wjr8MHfBhjYceIqjmZBQZWF0jLH0ZbRrH8+O5mK +FGXPfgSzLlCF3czM91HTn1S2Jt9MW69cEwyZ9rY2/ug8mNN64 ZvzzpyLlOZZ79InZA3J+hqera/3XTOAak/z1A2NQhwwSGeNMUV zebC+sCY8nAxJKGrYHXuIz52VsfDY2m0lHAVNlHeycE6snpu84 OkpwCl85DCvT1q88tSpRkiBxuKcCGg4YognrYXC9nseSoxKFQ= =
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To d@davea.name
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.1149.1356099297.29569.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1356099297 news.xs4all.nl 6871 [2001:888:2000:d::a6]:35088
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:35292

Show key headers only | View raw


On 12/21/2012 07:38 AM, Oscar Benjamin wrote:
> <snip>
> On a related note: how to answer question with no context on mailing
> list? 

Depends on how you're reading/responding.  I'll assume you're using an
email client like Thunderbird, and that you do NOT subscribe in digest form.

Most general way is to use Reply-All, and remove any recipients you
don't want there, but make sure you keep the python-list recipient.

Alternatively, if you're using Thunderbird or another with similar
capability, use Reply-list, which is smart enough to only keep the list
entry.

Or, what I used to do, reply, then add the python-list@python.org to the
list of recipients.  That's error prone.

I hope this answers your question.


-- 

DaveA

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


Thread

how to detect the encoding used for a specific text data ? iMath <redstone-cold@163.com> - 2012-12-20 03:57 -0800
  Re: how to detect the encoding used for a specific text data ? iMath <redstone-cold@163.com> - 2012-12-20 04:06 -0800
  Re: how to detect the encoding used for a specific text data ? Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2012-12-20 14:48 +0200
  Re: how to detect the encoding used for a specific text data ? "Stefan H. Holek" <stefan@epy.co.at> - 2012-12-20 14:17 +0100
    Re: how to detect the encoding used for a specific text data ? iMath <redstone-cold@163.com> - 2012-12-20 05:50 -0800
      Re: how to detect the encoding used for a specific text data ? Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2012-12-20 16:10 +0200
    Re: how to detect the encoding used for a specific text data ? iMath <redstone-cold@163.com> - 2012-12-20 05:50 -0800
  Re: how to detect the encoding used for a specific text data ? Christian Heimes <christian@python.org> - 2012-12-20 15:19 +0100
  Re: how to detect the encoding used for a specific text data ? rurpy@yahoo.com - 2012-12-20 09:48 -0800
  Re: how to detect the encoding used for a specific text data ? Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2012-12-21 12:38 +0000
  Re: how to detect the encoding used for a specific text data ? Dave Angel <d@davea.name> - 2012-12-21 09:14 -0500

csiph-web