[Openmcl-devel] utf-8 support in openmcl?

Tim Moore moore at bricoworks.com
Wed Apr 16 17:34:26 UTC 2003


I took a really quick look at this a few weeks ago.  It looks like there's
some (possibly vestigial) support for 16 bit general characters and
strings. I imagine this was to support the CLtL1 notion of character
attributes.

Would that be a viable path to unicode support? I believe that UTF-16
covers most of the Unicode scripts that people are likely to use in
practice.

Tim

On Wed, 16 Apr 2003, Gary Byers wrote:

> 
> 
> On Wed, 16 Apr 2003, Frank Sonnemans wrote:
> 
> > Is there any utf-8 support in openmcl?
> 
> No: all characters are BASE-CHARs and all strings are BASE-STRINGs;
> characters are 8 bits wide.  (As I understand it, UTF-8 can be used
> to encode characters that're wider than that.)
> 
> If any of these things were to change, I'd be most enthusiastic about
> changing the last (making CHAR-CODE-LIMIT (expt 2 21) or thereabouts
> and making a BASE-STRING be something like a UTF-32 string.)
> 
> >
> > I could not find it, but need some utf-8 to 8 bit ascii encoding (OSX
> > codepage) to parse database data transferred using xml with utf-8
> > encoding.
> 
> If we're just talking about going from a sequence of 8-bit bytes to a
> string of 8-bit characters, that sounds like a much simpler problem.
> Let me R TFM and get back to you (unless someone more familiar with the
> issue than I comes up with a solution first.)
> 
> 
> >
> > Regards,
> >
> >
> > Frank
> >
> >
> > _______________________________________________
> > Openmcl-devel mailing list
> > Openmcl-devel at clozure.com
> > http://clozure.com/cgi-bin/mailman/listinfo/openmcl-devel
> >
> >
> 
> 
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/cgi-bin/mailman/listinfo/openmcl-devel
> 


_______________________________________________
Openmcl-devel mailing list
Openmcl-devel at clozure.com
http://clozure.com/cgi-bin/mailman/listinfo/openmcl-devel



More information about the Openmcl-devel mailing list