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: 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: <546DF738.7030609@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 Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Sat, Nov 22, 2014 at 3:11 AM, Francis Moreau 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