From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: fontsets: (was Re: query-replace?) Date: Tue, 10 Jan 2006 11:29:54 +0100 Message-ID: References: <1hUvf.3442$ZA2.3357@newsread1.news.atl.earthlink.net><8dgwf.6880$M%4.184@newsread3.news.atl.earthlink.net> <_eIwf.7465$M%4.7456@newsread3.news.atl.earthlink.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1136904754 7736 80.91.229.2 (10 Jan 2006 14:52:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Jan 2006 14:52:34 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 10 15:52:33 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EwKrL-0005ul-C9 for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Jan 2006 15:52:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EwKtJ-0007xe-7y for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Jan 2006 09:54:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EwHOj-000325-PF for help-gnu-emacs@gnu.org; Tue, 10 Jan 2006 06:10:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EwGtl-0000v3-2w for help-gnu-emacs@gnu.org; Tue, 10 Jan 2006 05:38:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EwGnN-0007oE-2Z for help-gnu-emacs@gnu.org; Tue, 10 Jan 2006 05:32:05 -0500 Original-Received: from [217.72.192.224] (helo=smtp06.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EwGpn-0001QB-Ry for help-gnu-emacs@gnu.org; Tue, 10 Jan 2006 05:34:36 -0500 Original-Received: from [87.193.29.39] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #340) id 1EwGlL-0003vx-00; Tue, 10 Jan 2006 11:29:59 +0100 In-Reply-To: <_eIwf.7465$M%4.7456@newsread3.news.atl.earthlink.net> X-Priority: 3 X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: "B. T. Raven" X-Mailer: Apple Mail (2.746.2) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:32573 Archived-At: Am 10.01.2006 um 06:12 schrieb B. T. Raven: > No, in U.S. In Eli's codepage.el this block of chars (or glyphs) is =20= > headed > by ;; Turkish. This goes with DOS code page 857. > I don't know so much about DOS code pages, I stick to standards: ISO 8859-1: Western European Glyphs (Latin 1) ISO 8859-2: Central and Eastern European Glyphs (Latin 2) ISO 8859-3: Southern European, Maltese, and Esperanto Glyphs (Latin 3) ISO 8859-4: Northern European Glyphs (Latin 4) ISO 8859-5: Cyrillic Glyphs ISO 8859-6: Arabic Glyphs ISO 8859-7: Modern Greek Glyphs (ELOT928) ISO 8859-8: Hebrew Glyphs ISO 8859-9: Turkish Glyphs (Latin 5) ISO 8859-10: New Nordic Glyphs: Saami, Inuit, Icelandic (Latin 6) ISO 8859-11: Thai Glyphs ISO 8859-13: Baltic Glyphs (Latin 7) ISO 8859-14: Celtic Glyphs (Latin 8) ISO 8859-15: Western European Glyphs with =80 (Latin 9, Latin 0) ISO 8859-16: South-Eastern European Glyphs with =80, Romanian (Latin 10) If you want I can send you my 8 bit Turkish test file in ISO Latin-5. =20= Which should work because you have -outline-Arial Unicode MS-normal-r-=20= normal-normal-*-*-96-96-p-*-iso8859-5. > > Apparently your emacs is using Unicode as its internal =20 > representation. I > can't do that with 21.3. Thanks for all the food for thought. No. I took the excerpt off GNU Emacs 22.0.50, the one that is coming =20 closer to Unicode every day. The important thing is that the file has =20= in the leftmost column the right code values. With the encoding line =20 Emacs tries to present these codes in characters belonging to this =20 set. Then I have the right fontset defined so that the right glyphs =20 are chosen from the font(s). The codes in the leftmost column are =20 still 8 bit! Maybe you know printf, a function in C, that is used in UNIX as a =20 modern substitute to echo, that is also used in script languages like =20= awk or Perl. In Perl printf "%c =3D %d =3D %o =3D %x\n", 234, 234, 234, 234; would create the left columns of one line (in a loop it can become =20 more lines), the others come from a programme that can translate ISO =20 to UTF-8 representation or lookup the Unicode position for that =20 character. The descriptions, I think, are taken from a file in the =20 Kermit distribution. In GNU Emacs they all fused together. -- Greetings Pete Eat the rich -- the poor are tough and stringy.