From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,699cc914522aa7c4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!208.49.83.154!uns-out.usenetserver.com!news.usenetserver.com!pc03.usenetserver.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Wasteful internationalization References: <51p83bF1k9di7U1@mid.individual.net> <51rhs3F1m1jliU1@mid.individual.net> <1170179201.13783.76.camel@localhost> From: Stephen Leake Date: Sat, 03 Feb 2007 13:48:18 -0500 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:x885zzzLrGdvtlOXM6YSnqelJso= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 862b845c4d8fe759e00d427657 Xref: g2news2.google.com comp.lang.ada:8889 Date: 2007-02-03T13:48:18-05:00 List-Id: Björn Persson writes: > Stephen Leake wrote: > >> That's a "small box" on my display. Apparently I'm missing that font. >> >> Which is a good reason to not use such characters in programs. How >> many people would know how to install the right fonts? (hint; not me >> :) And how do you figure out what fonts they will need? > > I don't see the problem. > > There are two cases: Characters that the program itself uses, and Unicode > text data that the program processes and displays. The first case might > apply to a physics program that uses certain mathematical symbols. This is > no different from dynamic linking. You have complete control over which > characters your program uses, so you know what fonts it needs just like you > know what libraries it needs. No, I don't know what fonts the program itself needs; that's the point. The unicode Pi and other Greek characters display properly in the Emacs binary distribution I'm using. So I might be tempted to use unicode Greek characters in my Ada source code as variable names. But someone else, using another editor on another OS, may not be able to see it. Fonts are different from dlls, because they are used by editors, not my executable. And while I can build Emacs from scratch, that still doesn't tell me what font Pi is in. There probably is an Emacs command that could tell me; I just don't know what it is. And I don't want to get into that discussion with the personal favorite editor of every user of my code. > The second case applies to web browsers, email and Usenet clients, word > processors and so on. And program source code editors; that's the case I'm talking about. > These programs should ideally be able to display any Unicode > character. That's impossible in practice as long as Unicode is > growing. Users may also prefer not to have so many fonts installed. > You might not want to have 60000 Chinese characters occupying disk > space if you can't read Chinese anyway. This is no reason to limit > these programs to ASCII. They're much more useful with Unicode > support and an incomplete set of fonts than with only ASCII support. > They just need to cope with missing fonts and display something else > instead – and that's exactly what they do. If my program uses unicode Greek delta and omega as variable names, having them both display as a box will make the code unreadable. -- -- Stephe