all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Miles Bader <miles@gnu.org>
Cc: Kenichi Handa <handa@m17n.org>,
	jasonr@f2s.com, brep@163.com, emacs-devel@gnu.org
Subject: Re: font name not decoded in the output of describe-font
Date: Wed, 17 Dec 2008 13:37:58 +0900	[thread overview]
Message-ID: <878wqf1knt.fsf@xemacs.org> (raw)
In-Reply-To: <buo8wqg8psl.fsf@dhapc248.dev.necel.com>

Miles Bader writes:
 > "Stephen J. Turnbull" <stephen@xemacs.org> 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 ?

Indeed.  The question in my mind is how defensive to be about checking
for UTF-8 compatibility.  I think it's OK to just decode willy-nilly
and let the errors come if they will (because I'm quite sure they won't).




  reply	other threads:[~2008-12-17  4:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-13 14:18 font name not decoded in the output of describe-font brep
2008-12-13 17:55 ` Jason Rumney
2008-12-16  1:36   ` Miles Bader
2008-12-16  1:46     ` jasonr
2008-12-16  4:44       ` Kenichi Handa
2008-12-16  8:17         ` Stephen J. Turnbull
2008-12-16  8:52           ` Miles Bader
2008-12-17  4:37             ` Stephen J. Turnbull [this message]
2008-12-19  5:44             ` Kenichi Handa
2008-12-14 14:16 ` brep

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878wqf1knt.fsf@xemacs.org \
    --to=stephen@xemacs.org \
    --cc=brep@163.com \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    --cc=jasonr@f2s.com \
    --cc=miles@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.