From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: utf-16le vs utf-16-le Date: Thu, 17 Apr 2008 08:41:58 -0400 Message-ID: References: <87wsn1fl72.fsf@uwakimon.sk.tsukuba.ac.jp> <87prssgacl.fsf@uwakimon.sk.tsukuba.ac.jp> <851w58q24a.fsf@lola.goethe.zz> <87lk3gfg40.fsf@uwakimon.sk.tsukuba.ac.jp> <87fxtof8x1.fsf@uwakimon.sk.tsukuba.ac.jp> <87wsmzdpsp.fsf@uwakimon.sk.tsukuba.ac.jp> <87abjtr1xt.fsf@uwakimon.sk.tsukuba.ac.jp> <85hce1a6d0.fsf@lola.goethe.zz> <87myntp3k6.fsf@uwakimon.sk.tsukuba.ac.jp> <87d4oporhe.fsf@uwakimon.sk.tsukuba.ac.jp> <4807082C.50409@swipnet.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1208436359 8625 80.91.229.12 (17 Apr 2008 12:45:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2008 12:45:59 +0000 (UTC) Cc: turnbull@sk.tsukuba.ac.jp, emacs-devel@gnu.org To: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 17 14:46:26 2008 connect(): Connection refused 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 1JmTSx-0005hb-Ik for ged-emacs-devel@m.gmane.org; Thu, 17 Apr 2008 14:43:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JmTSI-0003EI-Q1 for ged-emacs-devel@m.gmane.org; Thu, 17 Apr 2008 08:43:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JmTRF-0002tO-F9 for emacs-devel@gnu.org; Thu, 17 Apr 2008 08:42:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JmTRA-0002sZ-Fb for emacs-devel@gnu.org; Thu, 17 Apr 2008 08:42:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JmTR9-0002sD-Vn for emacs-devel@gnu.org; Thu, 17 Apr 2008 08:42:00 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JmTR9-0008FZ-OU for emacs-devel@gnu.org; Thu, 17 Apr 2008 08:41:59 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JmTR8-0005oU-1A; Thu, 17 Apr 2008 08:41:58 -0400 In-reply-to: <4807082C.50409@swipnet.se> (message from =?ISO-8859-1?Q?Jan_Dj=E4rv?= on Thu, 17 Apr 2008 10:19:56 +0200) 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:95402 Archived-At: > Date: Thu, 17 Apr 2008 10:19:56 +0200 > From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= > Cc: Eli Zaretskii , emacs-devel@gnu.org > > In recode they have "surfaces". So charset is separate from surfaces, for > example EOL convention. That would be nice to have in Emacs as well. We already do, at least for the EOL format. Check out coding-system-change-{text,eol}-conversion, coding-system-eol-type, and coding-system-eol-type-mnemonic. But I don't think BOM is treated as a surface by `recode', unless I'm missing something.