> 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.
Since Emacs-21's internal chars are a superset of Emacs-20's internal chars, you can just use Emacs-21's facilities like (encode-coding-string <str> 'utf-8) or (encode-char <char> 'ucs). Stefan _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel