which lisps support UTF-8 ?



On 6/4/12 1:30 PM, Jaime Villate wrote:
> On 06/04/2012 05:06 PM, Raymond Toy wrote:
>>
>>     SBCL 1.0.50.0   YES
>>     Lisp Clozure Common Lisp Version 1.8 NO
>>     GCL 2.6.7 NO
>>     CLISP 2.49 YES
>>     ECL 10.3.1 YES
>>
>>
>> How did you determine this?  I'm pretty sure ccl supports utf8.
> I did the following test:
> 
> Maxima branch_5_27_base_65_g08552c3_dirty http://maxima.sourceforge.net
> using Lisp SBCL 1.0.50.0.debian
> Distributed under the GNU Public License. See the file COPYING.
> Dedicated to the memory of William Schelter.
> The function bug_report() provides bug reporting information.
> (%i1) subst (?=2, ?^2);
> (%o1)  4
> 
> Maxima branch_5_27_base_65_g08552c3_dirty http://maxima.sourceforge.net
> using Lisp Clozure Common Lisp Version 1.8-r15286M  (LinuxX8664)
> Distributed under the GNU Public License. See the file COPYING.
> Dedicated to the memory of William Schelter.
> The function bug_report() provides bug reporting information.
> (%i1) subst (?=2, ?^2);

Perhaps no one has added the appropriate magic to maxima to enable this.
 From the regular ccl repl, #\u+3b2 prints out #\greek_small_letter_beta.

Ray