|
From: | Adrian Robert |
Subject: | How to convert char from Emacs-20 internal to UTF-8? |
Date: | Wed, 16 Mar 2005 11:46:52 -0500 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |