[Openmcl-devel] Arbitrary characters in strings

Ron Garret ron at flownet.com
Fri Mar 26 18:23:48 UTC 2010


? #.(format nil "My ~A string" #\Latin_Small_Letter_A_With_Macron)
"My ā string"

And if you need to

On Mar 26, 2010, at 11:17 AM, Daniel Weinreb wrote:

> CCL supports, e.g., #\u+0101 and #\Latin_Small_Letter_A_With_Macron
> as character objects, in the reader.  What if I'm putting a literal string
> into my program and I want it to contain such a character, not by
> using the character itself but by naming it, as above?
> 
> Thanks.
> 
> -- Dan
> 
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list