From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: font name not decoded in the output of describe-font Date: Fri, 19 Dec 2008 14:44:22 +0900 Message-ID: References: <14448004.281361229177919568.JavaMail.coremail@bj163app29.163.com> <4943F708.9050007@f2s.com> <87y6ygsxyb.fsf@catnip.gol.com> <1229391969.494708614ac3b@webmail.freedom2surf.net> <87y6yg7cus.fsf@xemacs.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1229665504 31229 80.91.229.12 (19 Dec 2008 05:45:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Dec 2008 05:45:04 +0000 (UTC) Cc: stephen@xemacs.org, jasonr@f2s.com, brep@163.com, emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 19 06:46:08 2008 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 1LDYBb-00080x-Re for ged-emacs-devel@m.gmane.org; Fri, 19 Dec 2008 06:46:08 +0100 Original-Received: from localhost ([127.0.0.1]:43661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDYAP-00072r-A1 for ged-emacs-devel@m.gmane.org; Fri, 19 Dec 2008 00:44:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LDYAJ-00072S-Bb for emacs-devel@gnu.org; Fri, 19 Dec 2008 00:44:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LDYAH-00072G-Kk for emacs-devel@gnu.org; Fri, 19 Dec 2008 00:44:46 -0500 Original-Received: from [199.232.76.173] (port=57357 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDYAH-00072D-FT for emacs-devel@gnu.org; Fri, 19 Dec 2008 00:44:45 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:33503) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LDYAD-0003cl-NG; Fri, 19 Dec 2008 00:44:42 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id mBJ5iOju000352; Fri, 19 Dec 2008 14:44:25 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id mBJ5iOMT001266; Fri, 19 Dec 2008 14:44:24 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id mBJ5iMFZ008473; Fri, 19 Dec 2008 14:44:22 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1LDY9u-0007mR-Qj; Fri, 19 Dec 2008 14:44:22 +0900 In-reply-to: (message from Miles Bader on Tue, 16 Dec 2008 17:52:58 +0900) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 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:107050 Archived-At: In article , Miles Bader writes: > "Stephen J. Turnbull" writes: > > I haven't found a specification that says so myself, but Aidan Kehoe > > says it's clear from the source of fontconfig that it's UTF-8. I > > can't imagine why that would change in the future so it's probably > > safe to assume it (at least for user presentation purposes). > Anyway, since in practice everything uses utf-8, surely it's better to > assume that until a better solution is found, than returning raw > undecoded font names ? Ok, I've just installed a code to decode/encode font names property for x, xft, ftx font-backends. The decoder checks the validity of utf-8 sequence. --- Kenichi Handa handa@m17n.org