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


Groups > comp.lang.python > #81222

Re: python 2.7 and unicode (one more time)

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.031
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; '22,': 0.09; 'subject:2.7': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'str()': 0.16; 'subject:unicode': 0.16; 'subject:python': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'cc:addr:python.org': 0.22; 'unicode': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'getting': 0.31; 'subject:time': 0.33; 'subject: (': 0.35; 'received:google.com': 0.35; 'subject:one': 0.36; 'useful': 0.36; 'thanks': 0.36; 'nov': 0.38; 'reported': 0.39; 'skip:u 10': 0.60; 'subject:more': 0.64; 'finally': 0.65; 'yes': 0.68; 'pleasure.': 0.84; '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; bh=eHes74YiB8xWYMuFWcHifymwQoFTQxczA76PY6wl/ds=; b=ljfzMsNSymt+5Elt48cYKVdwCCQGdw1y5FbSPMiMy8q1CT/5oOO5+jm7u7sI3TRRGk Vqbu6vuqR2bP1s7i7zc071NRek5uaQF2WKDEFyVL3b8Oab0LjZedh6k8v6xS+ItEg1p4 aieVqiUd16gI0dT2BAA6XLNtuQ6OZVJ++8qyAToTquWqNA9N6uTSTBP5Ir7L8+f8wR4X Y2vakWEEdtPEbzZ/y2WGWdinO25BW9N3qg3YojVtwzl9ATdZ73I4m2sVMN1TFycv8e63 fE/+RmLPdpMuAu9nap6yZkBAhQHjZAdhhwVJSF7bJtQEi/f1ZyaXSc5h2VFdiIeVDGri cvZw==
MIME-Version 1.0
X-Received by 10.50.61.140 with SMTP id p12mr16418555igr.34.1416586449498; Fri, 21 Nov 2014 08:14:09 -0800 (PST)
In-Reply-To <546F6416.9030702@gmail.com>
References <m4kcu8$ta8$1@ger.gmane.org> <CAPTjJmrAyv_4WkvHPtFE8ADutQRFjqy3pMsQwAeX34JoubxkTw@mail.gmail.com> <546DF738.7030609@gmail.com> <CAPTjJmrY=SSa1pfGqTqTFhJ7xo6Q9ToFHG=jjVzxwg=bCoOAHA@mail.gmail.com> <546F6416.9030702@gmail.com>
Date Sat, 22 Nov 2014 03:14:09 +1100
Subject Re: python 2.7 and unicode (one more time)
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.16110.1416586460.18130.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416586460 news.xs4all.nl 2895 [2001:888:2000:d::a6]:47440
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:81222

Show key headers only | View raw


On Sat, Nov 22, 2014 at 3:11 AM, Francis Moreau <francis.moro@gmail.com> wrote:
> Yes I finally used str() since only setlocale() reported to have some
> issues with unicode_literals active in my appliction.
>
> Thanks Chris for your useful insight.

My pleasure. Unicode is a bit of a hobby-horse of mine, so I'm always
happy to see people getting things right :)

ChrisA

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


Thread

Re: python 2.7 and unicode (one more time) Chris Angelico <rosuav@gmail.com> - 2014-11-22 03:14 +1100

csiph-web