From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Unicode Lisp reader escapes Date: Sat, 29 Apr 2006 19:26:25 -0400 Message-ID: <87ejzgezk8.fsf-monnier+emacs@gnu.org> References: <17491.34779.959316.484740@parhasard.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1146353206 8918 80.91.229.2 (29 Apr 2006 23:26:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Apr 2006 23:26:46 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 30 01:26:44 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FZypk-0003Wd-GB for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2006 01:26:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZypj-0005Au-Uk for ged-emacs-devel@m.gmane.org; Sat, 29 Apr 2006 19:26:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FZypY-0005AS-Vp for emacs-devel@gnu.org; Sat, 29 Apr 2006 19:26:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FZypX-0005AF-C9 for emacs-devel@gnu.org; Sat, 29 Apr 2006 19:26:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZypX-0005AC-7l for emacs-devel@gnu.org; Sat, 29 Apr 2006 19:26:27 -0400 Original-Received: from [209.226.175.54] (helo=tomts10-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FZysz-0007K3-UN for emacs-devel@gnu.org; Sat, 29 Apr 2006 19:30:02 -0400 Original-Received: from alfajor ([70.55.146.223]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060429232626.DDSL20622.tomts10-srv.bellnexxia.net@alfajor>; Sat, 29 Apr 2006 19:26:26 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 145E8300B2; Sat, 29 Apr 2006 19:26:25 -0400 (EDT) Original-To: Aidan Kehoe In-Reply-To: <17491.34779.959316.484740@parhasard.net> (Aidan Kehoe's message of "Sat, 29 Apr 2006 17:35:55 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53624 Archived-At: > The background is that it hasn=E2=80=99t ever been possible to consistent= ly > specify a non-Latin-1 character by means of a general escape sequence, > since what character a given integer represents varies from release to > release and even from invocation to invocation. There are two known workarounds: - encode your file in utf-8. - use an elisp expression like (decode-char 'ucs ). Neither of them is quite what you want, but I've found them good enough for the cases I've had to deal with. Stefan