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: [eliz@gnu.org: Re: utf8 char display in buffer] Date: Sat, 13 Jun 2009 00:08:36 -0400 Message-ID: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1244866130 24293 80.91.229.12 (13 Jun 2009 04:08:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jun 2009 04:08:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: ken Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 13 06:08:47 2009 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 1MFKXu-0007Cb-93 for ged-emacs-devel@m.gmane.org; Sat, 13 Jun 2009 06:08:46 +0200 Original-Received: from localhost ([127.0.0.1]:56104 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFKXt-0005oT-G3 for ged-emacs-devel@m.gmane.org; Sat, 13 Jun 2009 00:08:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MFKXq-0005oO-2J for emacs-devel@gnu.org; Sat, 13 Jun 2009 00:08:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFKXl-0005lT-M1 for emacs-devel@gnu.org; Sat, 13 Jun 2009 00:08:41 -0400 Original-Received: from [199.232.76.173] (port=42204 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFKXl-0005lQ-GN for emacs-devel@gnu.org; Sat, 13 Jun 2009 00:08:37 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:49794) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MFKXl-0001fY-5x for emacs-devel@gnu.org; Sat, 13 Jun 2009 00:08:37 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MFKXk-0000D1-Uu; Sat, 13 Jun 2009 00:08:36 -0400 X-detected-operating-system: by monty-python.gnu.org: GNU/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:111477 Archived-At: Forwarding to emacs-devel, since the discussion wandered here. ------- Start of forwarded message ------- X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: <4A326C1F.1060601@mousecar.com> (message from ken on Fri, 12 Jun 2009 10:54:23 -0400) Date: Fri, 12 Jun 2009 23:30:24 -0400 Subject: Re: utf8 char display in buffer > Date: Fri, 12 Jun 2009 10:54:23 -0400 > From: ken > 1) In a buffer which is already utf-8 encoded, I set the appropriate > input method, type in the desired characters. They display just peachy > and there is happiness in EmacsLand. > > 2) I save the buffer to a file, then close the buffer. > > 3) I visit the same file (i.e., load it again into emacs). Because it > has <!-- -*- coding: utf-8; -*- --> as the first line, it opens > utf-8 encoded. This is confirmed by the presence of a 'u' as the second > character in the status bar. > > 4) The text in the buffer displays fine, except that in place of each of > those non-English characters is a little empty box. With the cursor on > one of those boxes, an 'a' with a horizontal bar above it, doing "C-x > =", emacs returns "Char: ā (01210041, 331809, 0x51021, file ...)". Please post here the full output of "C-u C-x =" (from a buffer popped up by Emacs) for these characters, both when you type them using the appropriate input method and they are displayed correctly (as in 1) above), and when you see them as empty boxes after revisiting the file. The differences between these two cases should give you a hint what is wrong; if not, someone else here might have ideas. ------- End of forwarded message -------