I wrote:
> The problem is that ecl
> (and probably sbcl) may be build without Unicode support.
> AFAIK gcl does not support Unicode at all.  You can still
> use Utf-8 with them, simply characters beyond ASCII will
> be represented by multibyte strings.  It would be nice
> if utf2cork worked in such case.  AFAICS we need a function
> which given a Utf-8 string produces list of Unicode
> characters (or more precisely Unicode code points)
> contained in it.  It is easy to make one, I hope to
> do it today.  I think that reasonable name for such
> function would be 'uentries'.  So you do not need 'ucodeToString'
> (which works in opposite direction to what you need),
> but should call 'uentries' instead of 'entries' inside
> 'utf2cork'.

I have now added 'uentries' to String.  With it 'utf2cork'
should look like:

   utf2cork(s : String) : String ==
       concat [cork(c) for c in uentries s]

'cork' should now take SingleInteger argument, and the table
should consist of pairs (String, SingleInteger).

-- 
                              Waldek Hebisch
[email protected] 

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to