Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '(at': 0.04; 'languages,': 0.04; 'subject:text': 0.05; 'utf-8': 0.07; 'expense': 0.09; 'received:internal': 0.09; 'subject:question': 0.10; 'assume': 0.14; 'windows': 0.15; '24,': 0.16; 'ah,': 0.16; 'likewise': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'sign,': 0.16; 'uppercase': 0.16; 'wrote:': 0.18; 'feb': 0.22; 'switched': 0.24; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'characters': 0.30; 'primarily': 0.30; 'commonly': 0.31; 'names.': 0.31; 'linux': 0.33; 'everyone': 0.33; 'could': 0.34; 'received:66': 0.35; "can't": 0.35; 'but': 0.35; 'there': 0.35; 'level': 0.37; 'received:10': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'even': 0.60; 'tell': 0.60; 'from:no real name:2**0': 0.61; 'french': 0.61; 'header:Message-Id:1': 0.63; 'pick': 0.64; 'between': 0.67; 'euro': 0.69 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= message-id:x-sasl-enc:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=mesmtp; bh=YW1DCJhx1tOZ/6afHd6yuG/ka4M=; b=PvVn 3rOyZisM6e/eB1aKvgmp5K+TDhY7pKCDL4p/0LhwvPLJro7xPt/AGpgwUCnEPK+w GlWEdFQ6xYv+nRSUnQ+zlH5VaYkfybgFqfOIsfMAgB6OdANLuZY9mrbEw6+QQx5+ w8esr/kqJy8oken1nox3t/vDS2aHZu9GNm6XddY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:in-reply-to :references:subject:date; s=smtpout; bh=YW1DCJhx1tOZ/6afHd6yuG/k a4M=; b=uYLnPJFZY/nazW+i1VbvO4Qv89MAvP89a0jl5FAmDbe2AASjD+5sdjRH RxeDDm38fUWRBO65lLuVm0TPaxS9PahAXpu0NkO9aBD0RGs8RB+HnQbS8BaADBZ5 QmIhBF0Dtw1j7QSAUZxX1lneczZ2SeQpwB8C5TQHIAFucJV1QV0= X-Sasl-Enc: ixGQ1pClv+uzhlITUBCTOEZTAjm+PJXqBjQZXjOydcH2 1424792303 From: random832@fastmail.us To: python-list@python.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-4ba7306c In-Reply-To: References: <54EC5FA4.6070703@davea.name> <201502241455.t1OEtffT016452@fido.openend.se> <201502241507.t1OF7aUm018883@fido.openend.se> Subject: Re: Newbie question about text encoding Date: Tue, 24 Feb 2015 10:38:23 -0500 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1424792306 news.xs4all.nl 2916 [2001:888:2000:d::a6]:48881 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!bete-des-vosges.org!feed.ac-versailles.fr!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:86327 On Tue, Feb 24, 2015, at 10:10, Chris Angelico wrote: > Ah, okay. :) But even with that level of confidence, you still have to > pick between Latin-1 and CP-1252, which you can't tell based on this > one snippet. Welcome to untagged encodings. Or Latin-9 (ISO 8859-15) That was popular on Linux systems for a while before everyone switched to UTF-8 - it's got the Euro sign, and (relevant to French) the "oe" ligature, and uppercase Y with diaeresis, at the expense of "generic currency" and fractions. Or it could be Latin-3, Latin-5 (8859-9), or Latin-8 (8859-14) - they are not commonly used for French locales, being primarily intended for other languages, but they do support all characters (at least all from Latin-1) used in French names. I assume there are likewise several Windows codepages it could be.