From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: utf-16le vs utf-16-le Date: Tue, 15 Apr 2008 06:01:14 +0900 Message-ID: <87fxtof8x1.fsf@uwakimon.sk.tsukuba.ac.jp> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208206347 9430 80.91.229.12 (14 Apr 2008 20:52:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2008 20:52:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 14 22:53:01 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 1JlVfB-00063C-SQ for ged-emacs-devel@m.gmane.org; Mon, 14 Apr 2008 22:52:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JlVeX-0002h4-Ha for ged-emacs-devel@m.gmane.org; Mon, 14 Apr 2008 16:51:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JlVeT-0002gc-78 for emacs-devel@gnu.org; Mon, 14 Apr 2008 16:51:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JlVeR-0002f3-I0 for emacs-devel@gnu.org; Mon, 14 Apr 2008 16:51:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JlVeR-0002es-Ap for emacs-devel@gnu.org; Mon, 14 Apr 2008 16:51:43 -0400 Original-Received: from mtps02.sk.tsukuba.ac.jp ([130.158.97.224]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JlVe4-0005Ww-D8; Mon, 14 Apr 2008 16:51:21 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps02.sk.tsukuba.ac.jp (Postfix) with ESMTP id 555457FFC; Tue, 15 Apr 2008 05:51:17 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 63EF11A29F3; Tue, 15 Apr 2008 06:01:14 +0900 (JST) In-Reply-To: X-Mailer: VM 7.19 under 21.5 (beta28) "fuki" 2785829fe37c XEmacs Lucid 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:95213 Archived-At: Eli Zaretskii writes: > Which 9 are needed by UTF-8? I only see 4: the auto-detecting one, > then one each for -unix. -dos, and -mac. What am I missing? BOM-{prohibited,auto,required}. Just because you don't see a need for them doesn't mean that there are cases where somebody might want to force or prohibit BOMs in UTF-8 for compatibility with other apps. > Don't forget that en/decoding is used on strings as well, not only on > buffers. Buffer-local variables won't cut it, I think. Strings don't have encoding signatures or newline variants; those octet sequences if present in a string are merely binary octet sequences. They only have special semantics in external representations. Where's the problem?