Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!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: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'pop': 0.05; 'bug.': 0.09; 'character,': 0.09; 'subject:2.7': 0.09; 'unrecognized': 0.09; 'windows,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'windows': 0.15; '23,': 0.16; '24,': 0.16; 'encodings': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'possible?': 0.16; 'repr()': 0.16; 'subject:unicode': 0.16; 'subject:python': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; '>>>': 0.22; 'example': 0.22; 'shell': 0.22; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'character': 0.29; 'quickly': 0.29; 'characters': 0.30; 'message-id:@mail.gmail.com': 0.30; 'getting': 0.31; 'font': 0.31; 'such.': 0.31; 'subject:time': 0.33; 'copying': 0.34; 'subject: (': 0.35; 'received:google.com': 0.35; 'sequence': 0.36; 'subject:one': 0.36; "didn't": 0.36; 'easiest': 0.38; 'nov': 0.38; 'files': 0.38; 'pm,': 0.38; 'realize': 0.39; 'dave': 0.60; 'course': 0.61; 'map': 0.64; 'subject:more': 0.64; '2014,': 0.84; 'bitmap': 0.84; 'fonts': 0.84; 'pasting': 0.84; 'truetype': 0.84; 'angel': 0.91; 'box)': 0.91; '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=GKD16YcDj0j0d8g+q68321QhX9UyVwBpxtZPB5U+x3A=; b=vZqAepLEScpFryAA/VbRS37ntFiIpLtZr52TeanZqCuwpBfUE+Wjk+cjLH3GqoYxE3 1Hanen1nZRX4Vq80XsTbBlgsu7cjry0ixyhG/DoVUaJnYGagirGGPd4pUJfwVD+IXY+a Wsi4vG+CsPlm7eJO5iCJpzC+yw19uF55Vmk2YX4dOo1IIkJZXVGvCe8nLE46fuUlWlHY fk8/lTYN2BhrTkPlhelHySExZ6mcWMfg7+8JlEB9wNYTahiOI6lg7Kuh9O47i34LfJIr 7Te960oFJXHfPTdMr/AtkuCmCub1qoNQLRmS8xuE3jd9RyqEow6L9bdVtnl9wxDueoOG wBig== MIME-Version: 1.0 X-Received: by 10.50.61.140 with SMTP id p12mr8802819igr.34.1416781366652; Sun, 23 Nov 2014 14:22:46 -0800 (PST) In-Reply-To: <54724412.6070701@davea.name> References: <547094a6$0$12984$c3e8da3$5496439d@news.astraweb.com> <87y4r348uf.fsf@elektro.pacujo.net> <87mw7j3z2r.fsf@elektro.pacujo.net> <1416707557.2242907.194259261.18485F96@webmail.messagingengine.com> <1416766412.2453321.194415069.645EFBCF@webmail.messagingengine.com> <54724412.6070701@davea.name> Date: Mon, 24 Nov 2014 09:22:46 +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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1416781370 news.xs4all.nl 2956 [2001:888:2000:d::a6]:57300 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:81403 On Mon, Nov 24, 2014 at 7:31 AM, Dave Angel wrote: > On 11/23/2014 01:13 PM, random832@fastmail.us wrote: >> >> On Sun, Nov 23, 2014, at 11:33, Dennis Lee Bieber wrote: >>> >>> Why would that be possible? Many truetype fonts only supply >>> glyphs for >>> single-byte encodings (ISO-Latin-1, for example -- pop up the Windows >>> character map utility and see what some of the font files contain. >> >> >> With a bitmap font selected, the characters will be immediately replaced >> with characters present in the font's codepage, and will copy to >> clipboard as such. > > > I didn't realize Windows shell (DOS box) had that bug. Course I don't use > Windows much the last few years. Likewise. I've been accustomed to copying and pasting unrecognized characters (one of the easiest solutions is to paste them into a Python console - ord() for one character, or a Py2 repr() for multiple - to quickly see what the codepoints are), relying on the clipboard getting the exact same sequence that was printed by the application. Thanks, Windows, just what I always wanted to hear. ChrisA