From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: encoding of font-name with unicode branch new font-backend Date: Thu, 07 Dec 2006 17:06:45 +0900 Message-ID: Reply-To: Miles Bader NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165478826 31522 80.91.229.10 (7 Dec 2006 08:07:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Dec 2006 08:07:06 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 07 09:07:06 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GsEHX-00087i-9a for ged-emacs-devel@m.gmane.org; Thu, 07 Dec 2006 09:07:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsEHW-0001KS-RQ for ged-emacs-devel@m.gmane.org; Thu, 07 Dec 2006 03:07:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GsEHK-0001Jt-Lo for emacs-devel@gnu.org; Thu, 07 Dec 2006 03:06:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GsEHK-0001JZ-7z for emacs-devel@gnu.org; Thu, 07 Dec 2006 03:06:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsEHK-0001JW-6f for emacs-devel@gnu.org; Thu, 07 Dec 2006 03:06:50 -0500 Original-Received: from [202.32.8.193] (helo=tyo201.gate.nec.co.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GsEHG-0000G5-TH; Thu, 07 Dec 2006 03:06:47 -0500 Original-Received: from relay11.aps.necel.com ([10.29.19.46]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id kB786jUB008672; Thu, 7 Dec 2006 17:06:45 +0900 (JST) Original-Received: from relay11.aps.necel.com ([10.29.19.24] [10.29.19.24]) by relay11.aps.necel.com with ESMTP; Thu, 7 Dec 2006 17:06:45 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.97.235] [10.114.97.235]) by relay11.aps.necel.com with ESMTP; Thu, 7 Dec 2006 17:06:45 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id 4135140C; Thu, 7 Dec 2006 17:06:45 +0900 (JST) Original-To: emacs-unicode@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop Original-Lines: 12 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:63398 Archived-At: If I do "C-u C-x =" on a character which is displayed with a font-backend font that has a non-latin name, the font-name is not displayed correctly: It's displayed as raw binary characters, which are actually the bytes of a UTF-8 encoded font name. It seems that somewhere (decode-coding-string ... 'utf-8) has to be called on the font name, but I'm not sure which layer has the knowledge that the string is actually utf-8... -miles -- Fast, small, soon; pick any 2.