Re: Converting a Mule character to UCS code point

Hrvoje Niksic <[email protected]> Thu, 16 Oct 2003 11:30:56 +0200
Newsgroups gmane.emacs.xemacs.mule
Message-ID <[email protected]>
"Stephen J. Turnbull" <[email protected]> writes:

>>>>>> "Hrvoje" == Hrvoje Niksic <[email protected]> writes:
>
>     Hrvoje> Can any of these be considered stable?
>
> I just did a quick look at GNU Emacs, and you'd have to consider
> encode-char unstable, too, since it only supports 'ucs for the
> target charset,

Their documentation doesn't mention that it's unstable, but I suppose
they can change their mind any time.  I'll ask them.

> and the source character must be from a restricted set of character
> sets, some of which are private GNU Emacs sets.

I do handle the case when encode-char returns nil.  My hope is that,
when they get better Unicode support, they will extend encode-char to
return non-nil for more characters rather than break it.  I'm still
young, aren't I?  :-)