From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rahed Newsgroups: gmane.emacs.help Subject: Re: squares in buffer instead of utf-8 characters Date: Tue, 24 Apr 2007 13:18:11 +0200 Message-ID: References: <87k5wfwbj5.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177413663 26095 80.91.229.12 (24 Apr 2007 11:21:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2007 11:21:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 24 13:21:02 2007 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 1HgJ4u-00054n-T6 for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Apr 2007 13:21:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HgJAP-0005mA-V3 for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Apr 2007 07:26:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HgJAC-0005lv-GY for help-gnu-emacs@gnu.org; Tue, 24 Apr 2007 07:26:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HgJAA-0005lg-Qv for help-gnu-emacs@gnu.org; Tue, 24 Apr 2007 07:26:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HgJAA-0005ld-Ko for help-gnu-emacs@gnu.org; Tue, 24 Apr 2007 07:26:26 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HgJ4e-0005I6-Oo for help-gnu-emacs@gnu.org; Tue, 24 Apr 2007 07:20:45 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HgJ4Z-0008DD-3D for help-gnu-emacs@gnu.org; Tue, 24 Apr 2007 13:20:39 +0200 Original-Received: from 80.188.171.52 ([80.188.171.52]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Apr 2007 13:20:39 +0200 Original-Received: from raherh by 80.188.171.52 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Apr 2007 13:20:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 80.188.171.52 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (windows-nt) Cancel-Lock: sha1:cMbc22Ir9mbA4CE+wHg+6JZfaYQ= X-detected-kernel: 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:43059 Archived-At: Tim X writes: > At a guess, I suspect you are running under X. This means you have either a > fontpath setting that points to directories containing the fonts your X server > is able to provide or you have a font server configured. The boxes indicate > that emacs wants to display the characters with a specific font, but it cannot > find that font (either in your font path or from the font server). > > There are a couple of points to keep in mind here. If your connecting to the > solaris box from a remote system, such as a workstation, then the fonts need to > be available to your local workstation X server, not on the solaris X server. > In this case, the issue is with your local X configuration or the fonts it has > available. > > You can use a program like xfontsel, which will allow you to select fonts from > those which are available to the X server. Use this program and try to identify > a suitable font. Set the font for emacs to this font and things should work. > This can be done in a number of ways, but to begin with and for > experimentation, set it on the command line using the -fn option (I think its > -fn, check the manual). Don't forget that since the font names contain *, you > will need to quote the font string to prevent the shell from trying to expand > the *. Once you have a font that works, set it in either your .Xresources file, > your .emacs file or via customize. > Thank you for your detailed reply. I set a new unicode font with xset but when I use xfontsel to look at the chars there are only boxes there. So the issue is with Solaris. -- Radek