From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.help Subject: Re: Some question about fontsets Date: Thu, 22 May 2003 12:37:00 +0200 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <87of2kagqu.fsf@ID-87814.user.dfncis.de> <87brxwkpdn.fsf@yahoo.co.uk> 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 1053601038 6101 80.91.224.249 (22 May 2003 10:57:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 22 May 2003 10:57:18 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 22 12:57:15 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Inl4-0001a1-00 for ; Thu, 22 May 2003 12:57:15 +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 19InVq-0004XK-0g for gnu-help-gnu-emacs@m.gmane.org; Thu, 22 May 2003 06:41:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!dialin-145-254-195-051.arcor-ip.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 55 Original-NNTP-Posting-Host: dialin-145-254-195-051.arcor-ip.net (145.254.195.51) Original-X-Trace: fu-berlin.de 1053600042 24709 145.254.195.51 (16 [87814]) X-Attribution: os X-Face: "HgH2sgK|bfH$; PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6;Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:FbJTB2ewUVW027uAgoEYBVnCUbM= Original-Xref: shelby.stanford.edu gnu.emacs.help:113514 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10010 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10010 Shane McAndrew writes: [...] > When I run "dict" in eshell, the phonetic characters (IPA symbols) > don't display correctly. Here is the output - > > ~ $ dict exemple > 1 definition found > > From French-English Freedict dictionary [fd-fra-eng]: > > exemple [É.gzaÌ.pl] > example > > It also fails when run in xterm or gnome-terminal BUT it does display > correctly in uxterm (Xterm Unicode). Also, I can see the IPA character > set with the command "xfd -fn -etl-*-*-*". I am running Emacs 21.2.1 > on Debian/GNU Linux testing distribution. > > C-u C-x = reports the following on the first character after "exemple [" - > > character: É (04311, 2249, 0x8c9) > charset: latin-iso8859-1 [...] [Thanks for sending the output of `C-u C-x =' in the first place.] This is not a problem with fontsets, but with process encoding. Emacs interprets the output of "dict" wrongly as encoded in latin 1. (You may have to change the fontset, too, but let's solve the encoding problem first.) Does it work to put either ;; Affects the communication with the "dict" program everywhere in ;; Emacs. (push '("dict" . utf-8-unix) process-coding-system-alist) or ;; Affects only Eshell, but there it affects all communication with ;; sub-processes. (add-hook 'eshell-mode-hook (lambda () (set (make-local-variable 'default-process-coding-system) '(utf-8-unix . utf-8-unix)))) into your .emacs? If you happen to see hollow boxes now instead of garbage characters, then we made progress and you have to change your fontset. Oliver -- 3 Prairial an 211 de la Révolution Liberté, Egalité, Fraternité!