Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'parsing': 0.07; 'issue:': 0.09; 'settings,': 0.09; 'subject:characters': 0.09; 'subject:not': 0.11; 'vista': 0.13; 'language': 0.14; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'subject:program': 0.16; 'subject:unicode': 0.16; 'unicode.': 0.16; 'wrote:': 0.17; 'fix': 0.17; '(in': 0.18; '>>>': 0.18; 'windows': 0.19; 'written': 0.20; 'sort': 0.21; 'import': 0.21; 'displayed': 0.22; 'visible': 0.22; 'example': 0.23; 'lab': 0.23; 'idea': 0.24; 'tried': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'thanks!': 0.26; 'options': 0.27; "doesn't": 0.28; 'fine': 0.28; 'name?': 0.29; 'received:192.168.1.3': 0.29; 'character': 0.29; 'handled': 0.29; 'problem': 0.33; 'to:addr :python-list': 0.33; 'languages': 0.33; 'open': 0.35; 'skip:u 20': 0.36; 'but': 0.36; 'characters': 0.36; 'display': 0.36; 'being': 0.37; 'subject:: ': 0.38; 'fact': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'where': 0.40; 'received:192.168': 0.40; 'help': 0.40; 'here': 0.65; 'our': 0.65; 'header:Reply-To:1': 0.68; 'capital': 0.68; 'computers': 0.69; 'everybody': 0.69; 'analysis': 0.70; 'reply-to:no real name:2**0': 0.72; 'square': 0.75; 'computers.': 0.84; 'reply- to:addr:python.org': 0.84 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=OqzNOlDt c=1 sm=1 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=b2nRVtXOy8EA:10 a=wrtsmv4Se-8A:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=IkcTkHD0fZMA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=0fLvNm69WD4A:10 a=yB7Su_6VHPDHu1hPff4A:9 a=QEXdDO2ut3YA:10 a=0nF1XD0wxitMEM03M9B4ZQ==:117 X-AUTH: mrabarnett:2500 Date: Sun, 14 Oct 2012 18:31:20 +0100 From: MRAB User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: python-list@python.org Subject: Re: pyw program not displaying unicode characters properly References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org 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: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1350235875 news.xs4all.nl 6949 [2001:888:2000:d::a6]:37873 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:31255 On 2012-10-14 17:55, jjmeric wrote: > > Hi everybody ! > > Our language lab at INALCO is using a nice language parsing and analysis > program written in Python. As you well know a lot of languages use > characters that can only be handled by unicode. > > Here is an example of the problem we have on some Windows computers. > In the attached screen-shot (DELETED), > the bambara character (a sort of epsilon) is displayed as a square. > > The fact that it works fine on some computers and fails to display the > characters on others suggests that it is a user configuration issue: > Recent observations: it's OK on Windows 7 but not on Vista computers, > it's OK on some Windows XP computers, it's not on others Windows XP... > > On the computers where it fails, we've tried to play with options in the > International settings, but are not able to fix it. > > Any idea that would help us go in the right direction, or just fix it, > is welcome ! > > Thanks! > I ni ce! (in bambara, a language spoken in Mali, West Africa) > A square is shown when the font being used doesn't contain a visible glyph for the codepoint. Which codepoint is it? What is the codepoint's name? Here's how to find out: >>> hex(ord("Ɛ")) '0x190' >>> import unicodedata >>> unicodedata.name("Ɛ") 'LATIN CAPITAL LETTER OPEN E'