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


Groups > comp.lang.python > #61605 > unrolled thread

Re: Movie (MPAA) ratings and Python?

Started byNed Batchelder <ned@nedbatchelder.com>
First post2013-12-11 13:35 -0500
Last post2013-12-11 13:35 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Movie (MPAA) ratings and Python? Ned Batchelder <ned@nedbatchelder.com> - 2013-12-11 13:35 -0500

#61605 — Re: Movie (MPAA) ratings and Python?

FromNed Batchelder <ned@nedbatchelder.com>
Date2013-12-11 13:35 -0500
SubjectRe: Movie (MPAA) ratings and Python?
Message-ID<mailman.3920.1386786929.18130.python-list@python.org>
On 12/10/13 6:50 PM, Dan Stromberg wrote:
>
> On Tue, Dec 10, 2013 at 1:07 PM, Petite Abeille
> <petite.abeille@gmail.com <mailto:petite.abeille@gmail.com>> wrote:
>
>
>     On Dec 10, 2013, at 6:25 AM, Dan Stromberg <drsalists@gmail.com
>     <mailto:drsalists@gmail.com>> wrote:
>
>      > The IMDB flat text file probably came the closest, but it appears
>     to have encoding issues; it's apparently nearly windows-1255, but
>     not quite.
>
>     It's ISO-8859-1.
>
> Thanks - that reads well from CPython 3.3.
>
> Now the question becomes: Why did chardet tell me it was windows-1255?  :)

It probably told you it was Windows-1252 (I'm assuming the last 5 is a 
typo).

Windows-1252 is a super-set of ISO-8859-1, so any text that is correct 
ISO-8859-1 is also correct Windows-1252.  In addition, it's not uncommon 
to find text marked as ISO-8859-1 that in fact has characters that make 
it Windows-1252.


-- 
Ned Batchelder, http://nedbatchelder.com

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web