From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: new coding system (was: Re: prettify symbols question) Date: Mon, 23 Nov 2020 15:40:24 -0500 Message-ID: References: <834kluzkma.fsf@gnu.org> <831rgyziu3.fsf@gnu.org> <83zh3my2ls.fsf@gnu.org> <83o8k1yb0x.fsf@gnu.org> <83y2j5wio8.fsf@gnu.org> <83sg9dweps.fsf@gnu.org> <83k0upwber.fsf@gnu.org> <83r1owuicp.fsf@gnu.org> <83d00fvrkt.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12986"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 23 21:49:46 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1khImQ-0003H2-Vn for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Nov 2020 21:49:46 +0100 Original-Received: from localhost ([::1]:44072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khImP-0005u4-Uy for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Nov 2020 15:49:45 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khIdN-00047J-Pg for emacs-devel@gnu.org; Mon, 23 Nov 2020 15:40:25 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54203) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khIdN-0007yk-Ie for emacs-devel@gnu.org; Mon, 23 Nov 2020 15:40:25 -0500 Original-Received: from ams by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1khIdM-0005nU-0e; Mon, 23 Nov 2020 15:40:24 -0500 In-Reply-To: <83d00fvrkt.fsf@gnu.org> (message from Eli Zaretskii on Sat, 14 Nov 2020 18:19:46 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:259699 Archived-At: > Is this the encoding on Unix systems? If so, maybe try without > mapping characters below ASCII 128, I'm not sure this is supported in > an ASCII-compatible encoding. > > I am not sure I understand. On unix #o0 maps to the MIDDLE DOT, #o1 > to DOWNWARDS ARROW, etc. If the low codes aren't identical to ASCII, then I think ascii-compatible should be nil, and I think the relevant example to follow is that of EBCDIC. I'd suggest to construct a map file by hand, using EBCDIC maps as example, and see if that works. It didn't, I took the EBCDIC-US map, and replaced the first entry, /x00 NULL (NUL) with /x00 MIDDLE DOT If it doesn't work, we might need to bring Kenichi Handa on board of the discussion. If Kenichi Handa can help, that would be very nice -- it isn't a very important one but it would be useful for me to get this working. > As I understood it, the charmap/charset is a mapping from UCS-4 > Unicode to whatever is on the target? Not UCS-4, but Unicode codepoints (which is the same thing in practice, but just so we get our terminology right.) Are you sure? According to the glibc manual (and a quick glance at the source, glibc/locale/program/charmap.c), the Unicode entry is supposed to be a UCS-4 name.