From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; utf7-decode failed with non latin-1 charactor Date: Fri, 02 Nov 2007 23:58:28 -0400 Message-ID: References: <87k5p1ho29.wl%topia@clovery.jp> <472B1AD5.3090006@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1194062381 18357 80.91.229.12 (3 Nov 2007 03:59:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Nov 2007 03:59:41 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, topia@clovery.jp To: Jason Rumney , handa@m17n.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 03 04:59:43 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IoAAf-0006RJ-Ug for ged-emacs-devel@m.gmane.org; Sat, 03 Nov 2007 04:59:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IoAAV-0004mz-U0 for ged-emacs-devel@m.gmane.org; Fri, 02 Nov 2007 23:59:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IoA9Y-0003sx-HF for emacs-devel@gnu.org; Fri, 02 Nov 2007 23:58:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IoA9W-0003qZ-Ra for emacs-devel@gnu.org; Fri, 02 Nov 2007 23:58:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IoA9W-0003q7-Gr for emacs-devel@gnu.org; Fri, 02 Nov 2007 23:58:30 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IoA9V-0001kD-UC for emacs-devel@gnu.org; Fri, 02 Nov 2007 23:58:30 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IoA9U-0001Qm-03; Fri, 02 Nov 2007 23:58:28 -0400 In-reply-to: <472B1AD5.3090006@gnu.org> (message from Jason Rumney on Fri, 02 Nov 2007 12:40:53 +0000) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:82399 gmane.emacs.pretest.bugs:20226 Archived-At: There appear to be two different implementations of utf-7 in Emacs, one in lisp/international/utf-7.el, and one in lisp/gnus/utf7.el The former seems to work for decoding, but always returns nil on encoding without changing the buffer contents (the correctly encoded text is in a buffer called " *temp*" however). The latter only seems to work on Latin-1 text (as documented in the commentary) and returns results from the encoder that are inconsistent with iconv. Probably lisp/international/utf-7.el should be fixed, and the Gnus one dropped. Handa, can you fix international/utf-7.el?