From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add non-ASCII characters to morse.el Date: Wed, 20 Nov 2002 16:22:52 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: <200211202122.gAKLMqd23185@rum.cs.yale.edu> References: <200211201154.UAA28272@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1037827321 30249 80.91.224.249 (20 Nov 2002 21:22:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 20 Nov 2002 21:22:01 +0000 (UTC) Cc: Kenichi Handa , emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18EcIF-0007r5-00 for ; Wed, 20 Nov 2002 22:21:55 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18EcLb-0001Qz-00 for ; Wed, 20 Nov 2002 22:25:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18EcJc-0001Kx-00; Wed, 20 Nov 2002 16:23:20 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18EcJJ-00015q-00 for emacs-devel@gnu.org; Wed, 20 Nov 2002 16:23:01 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18EcJD-0000w2-00 for emacs-devel@gnu.org; Wed, 20 Nov 2002 16:23:00 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18EcJD-0000v3-00 for emacs-devel@gnu.org; Wed, 20 Nov 2002 16:22:55 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id gAKLMqd23185; Wed, 20 Nov 2002 16:22:52 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Simon Josefsson Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9579 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9579 > > In article , Simon Josefsson writes: > >> Is there a better way to represent non-ASCII in elisp? > > > > What do you mean? Some way other than Lisp string? > > Yes. The coding system used by *.el doesn't seem fixed, so if I add a > morse sequence for the euro sign by storing the euro sign literally, > someone else opening the file might read it as a Latin-1 currency > symbol -- and emacs treat the two characters as distinct. Should I > add a charset cookie to the file perhaps? Yes. And I recommend the utf-8 cookie if it's an option. Stefan