From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: utf8 char display in buffer Date: Fri, 12 Jun 2009 23:30:24 -0400 Message-ID: References: <7I2dndeTy7sqkLLXnZ2dnUVZ_gmdnZ2d@sysmatrix.net> <4A326C1F.1060601@mousecar.com> 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 1244863856 20962 80.91.229.12 (13 Jun 2009 03:30:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jun 2009 03:30:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 13 05:30:54 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MFJxD-0000zK-4p for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Jun 2009 05:30:51 +0200 Original-Received: from localhost ([127.0.0.1]:60765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFJxC-0006i8-4A for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Jun 2009 23:30:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MFJwr-0006hb-Vb for help-gnu-emacs@gnu.org; Fri, 12 Jun 2009 23:30:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFJwn-0006bd-6F for help-gnu-emacs@gnu.org; Fri, 12 Jun 2009 23:30:29 -0400 Original-Received: from [199.232.76.173] (port=42991 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFJwn-0006bI-0M for help-gnu-emacs@gnu.org; Fri, 12 Jun 2009 23:30:25 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:36961) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MFJwm-0006e1-O1 for help-gnu-emacs@gnu.org; Fri, 12 Jun 2009 23:30:24 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MFJwm-0007d9-5d for help-gnu-emacs@gnu.org; Fri, 12 Jun 2009 23:30:24 -0400 In-reply-to: <4A326C1F.1060601@mousecar.com> (message from ken on Fri, 12 Jun 2009 10:54:23 -0400) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65231 Archived-At: > 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.