Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'win32': 0.03; 'pop': 0.05; '22,': 0.09; 'lawrence': 0.09; 'subject:2.7': 0.09; 'cc:addr :python-list': 0.11; 'windows': 0.15; '24,': 0.16; '>>on': 0.16; 'caring': 0.16; 'encodings': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'possible?': 0.16; 'subject:unicode': 0.16; 'subject:python': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'written': 0.21; 'command': 0.22; '>>>': 0.22; 'example': 0.22; 'cc:addr:python.org': 0.22; 'print': 0.22; 'unicode': 0.24; 'mon,': 0.24; "haven't": 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'character': 0.29; 'characters': 0.30; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'font': 0.31; 'subject:time': 0.33; 'problem': 0.35; 'subject: (': 0.35; 'display': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'subject:one': 0.36; 'should': 0.36; 'problems': 0.38; 'nov': 0.38; 'files': 0.38; 'even': 0.60; 'range': 0.61; 'map': 0.64; 'subject:more': 0.64; 'covers': 0.68; 'chinese': 0.74; '2014,': 0.84; 'fonts': 0.84; 'truetype': 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=69Z8gSUlOHj3651P0B85EBD7J7nRALLy2STAlC+Gte8=; b=fASaiNqgqxy7wM0mMFRi6/tSS92pwXT09H0bnzkZeZ7heD28nqwNEYRnoRLyWtZRqE roO8encqBrxMuu/8ZeDAHnRv+enGX9PGfS0rDEymvzfMT/JBirnefTU+HEduuMjZU2Gq wUL/Ef/hHVHC56uzg1gYEbRzNTsnWDLMVyyjJ9CSbH/gTN/ssl5bybwqQrO6X5zuY31v L6OSxJAQgPLvr6V2ReoSf3I9gwa/14mge8E12mRS2TznHh7F2Jcgt0QqMNYOQRvKOZaB Sf4ktLH5huTG4opMHwdfpkXCXsjIQkmVG/ZYQA0SreoXdC5f85vk1EwmYKLgSpfNGyPz Fwqg== MIME-Version: 1.0 X-Received: by 10.42.110.195 with SMTP id r3mr21237383icp.12.1416760747819; Sun, 23 Nov 2014 08:39:07 -0800 (PST) In-Reply-To: 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> Date: Mon, 24 Nov 2014 03:39:07 +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: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1416760756 news.xs4all.nl 2936 [2001:888:2000:d::a6]:53325 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:81385 On Mon, Nov 24, 2014 at 3:33 AM, Dennis Lee Bieber wrote: > On Sat, 22 Nov 2014 20:52:37 -0500, random832@fastmail.us declaimed the > following: > >>On Sat, Nov 22, 2014, at 18:38, Mark Lawrence wrote: >>> ... >>> That is a standard Windows build. He is again conflating problems with >>> using the Windows command line for a given code page with the FSR. >> >>The thing is, with a truetype font selected, a correctly written win32 >>console problem should be able to print any character without caring > > 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. A program should be able to print those characters even if they all look identical. Chances are you can copy and paste them into something else. But yes, finding a suitable font that covers the whole Unicode range is *hard*. I've struggled with this one with a few programs (and I still haven't managed to get VLC to satisfactorily display subtitles that include Chinese characters). ChrisA