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


Groups > comp.lang.python > #64723

Re: Trying to understand this moji-bake

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!news.astraweb.com!border2.a.newsrouter.astraweb.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.026
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'assuming': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'jan': 0.12; 'ascii,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'magic': 0.16; 'sat,': 0.16; 'wrote:': 0.18; '(in': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'source': 0.25; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; '25,': 0.31; "d'aprano": 0.31; 'python2.7': 0.31; 'steven': 0.31; 'maybe': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'pm,': 0.38; 'bad': 0.39; 'skip:u 10': 0.60; 'default': 0.69; '8bit%:100': 0.72; 'subject:this': 0.83; 'to:none': 0.92
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:cc :content-type:content-transfer-encoding; bh=M7JK/YZMFOTNctSl17F70yjWYapX7xITbhb5FOXTWIY=; b=VPVZDoXGye5AmVAvGQyF51sY24gjBwhVy/FKgCxjRXnVT+f5aS5pEBXgaQCVMr2sMW JUt7WKLiKlVIcKRNKlgOap13UBz95APwZJmQhOylwgO6+T/XtwteAK5MqztbA4e+4TbR 2zJ1Xpd8LijNq8OcoFbKaABzY7g+wrFwYFgq5TP+ZNHFmsXuLz8aaP3t6xqB3tnt2QLA QjzwXN/NOcKKvQfYn4fpIiTUxpBmtYFJRgMtb3QbZHwkQ+/qMVm2s9vqx60gpqHsF4ZD kCgr4bB7dkBkvXn+7XBBYTHJ1gBmJLNFs6jRc+GfD9jcKmh39MLClHClmgFAT36d+NFt lIOg==
MIME-Version 1.0
X-Received by 10.66.155.7 with SMTP id vs7mr18394798pab.42.1390630137070; Fri, 24 Jan 2014 22:08:57 -0800 (PST)
In-Reply-To <52e33f8d$0$29999$c3e8da3$5496439d@news.astraweb.com>
References <52e33f8d$0$29999$c3e8da3$5496439d@news.astraweb.com>
Date Sat, 25 Jan 2014 17:08:56 +1100
Subject Re: Trying to understand this moji-bake
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
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.5965.1390630146.18130.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1390630146 news.xs4all.nl 2887 [2001:888:2000:d::a6]:34245
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:64723

Show key headers only | View raw


On Sat, Jan 25, 2014 at 3:37 PM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> But using Python 2.7, I get a really bad case of moji-bake:
>
> [steve@ando ~]$ python2.7 -c "print u'ñøλπйж'"
> ñøλÏйж

What's 2.7's default source code encoding? I thought it was ascii, but
maybe it's assuming (in the absence of a magic cookie) that it's
Latin-1.

ChrisA

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


Thread

Trying to understand this moji-bake Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-25 04:37 +0000
  Re: Trying to understand this moji-bake Cameron Simpson <cs@zip.com.au> - 2014-01-25 16:08 +1100
  Re: Trying to understand this moji-bake Chris Angelico <rosuav@gmail.com> - 2014-01-25 17:08 +1100
    Re: Trying to understand this moji-bake Peter Pearson <ppearson@nowhere.invalid> - 2014-01-25 17:56 +0000
      Re: Trying to understand this moji-bake Chris Angelico <rosuav@gmail.com> - 2014-01-26 06:13 +1100
      Re: Trying to understand this moji-bake Terry Reedy <tjreedy@udel.edu> - 2014-01-25 22:31 -0500
    Re: Trying to understand this moji-bake Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-26 02:04 +0000
      Re: Trying to understand this moji-bake Chris Angelico <rosuav@gmail.com> - 2014-01-26 13:08 +1100
  Re: Trying to understand this moji-bake Peter Otten <__peter__@web.de> - 2014-01-25 09:56 +0100
  Re: Trying to understand this moji-bake wxjmfauth@gmail.com - 2014-01-25 01:24 -0800
  Re: Trying to understand this moji-bake Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2014-01-25 21:15 +0000

csiph-web