all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to convert char from Emacs-20 internal to UTF-8?
@ 2005-03-16 16:46 Adrian Robert
  2005-03-16 17:19 ` Stefan Monnier
  0 siblings, 1 reply; 7+ messages in thread
From: Adrian Robert @ 2005-03-16 16:46 UTC (permalink / raw)


Hi all,

I apologize for the "retro" question, but I was wondering if there was 
an easy way to convert a character in the Emacs-20 internal 19-bit 
encoding (from FAST_GLYPH_CHAR(glyph)) to UTF-8 (preferable) or 
straight Unicode.  I'd like to do it fully within C if possible, and it 
needs to be efficient.  I've looked into CCL a little bit and also 
found http://tclab.kaist.ac.kr/~otfried/Mule/ , but it's a bit tough 
getting started with this stuff and since I just want a single special 
case I was wondering if anyone knew a handy invocation, or an 
alternative to CCL.

thanks,
Adrian

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-03-23  4:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-16 16:46 How to convert char from Emacs-20 internal to UTF-8? Adrian Robert
2005-03-16 17:19 ` Stefan Monnier
2005-03-16 19:19   ` Adrian Robert
2005-03-16 19:38     ` Stefan Monnier
2005-03-17  3:20     ` Adrian Robert
2005-03-22 17:30   ` Adrian Robert
2005-03-23  4:52     ` Miles Bader

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.