From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: cannot encode a buffer?? Date: 24 Jun 2003 15:17:47 -0400 Organization: disorganization Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <847k7bv40q.fsf@lucy.is.informatik.uni-duisburg.de> Reply-To: sds@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1056482634 753 80.91.224.249 (24 Jun 2003 19:23:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2003 19:23:54 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jun 24 21:23:50 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19UtL7-0008PK-00 for ; Tue, 24 Jun 2003 21:20:25 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19UtOn-0003HR-00 for ; Tue, 24 Jun 2003 21:24:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19UtKf-0006ZJ-7R for emacs-devel@quimby.gnus.org; Tue, 24 Jun 2003 15:19:57 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19UtJW-0005vJ-Mb for emacs-devel@gnu.org; Tue, 24 Jun 2003 15:18:46 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19UtIg-0005Y0-8B for emacs-devel@gnu.org; Tue, 24 Jun 2003 15:17:55 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19UtIe-0005Ss-1U for emacs-devel@gnu.org; Tue, 24 Jun 2003 15:17:52 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19UtIN-0008Fz-00 for ; Tue, 24 Jun 2003 21:17:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19UtIK-0008Fe-00 for ; Tue, 24 Jun 2003 21:17:32 +0200 Original-Lines: 35 Original-X-Complaints-To: usenet@main.gmane.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15215 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15215 > * In message <847k7bv40q.fsf@lucy.is.informatik.uni-duisburg.de> > * On the subject of "Re: cannot encode a buffer??" > * Sent on Tue, 24 Jun 2003 18:23:01 +0200 > * Honorable kai.grossjohann@gmx.net (Kai Großjohann) writes: > > Sam Steingold writes: > > > GNU Emacs 21.3.50.1 (i386-msvc-nt5.0.2195) > > of 2003-06-16 on WINSTEINGOLDLAP > > --with-msvc (12.00) > > > > I have a file which starts with > > ";;; -*- coding: utf-8-unix -*-" > > > > when I try to save it, I get this: > > > > These default coding systems were tried to encode text > > in the buffer `.bbdb': > > utf-8-unix > > However, each of them encountered these problematic characters: > > utf-8-unix: 山 本 和 彦 > > Does it work after (utf-translate-cjk-mode 1)? indeed it does. thanks. I wonder what is going on here: why did Emacs insist on asking me about the new coding system on every save and then gleefully accepted the coding system in the file header? -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux Daddy, why doesn't this magnet pick up this floppy disk?