Unable to parse email body. Email id is 14370
Unable to parse email body. Email id is 14370
On Tue, 30 May 2017 15:47:57 +0200, 竹子之魂 <2458386286@qq.com> wrote: > (code-char 120120) ; returns nil > while in sbcl > (code-char 120120) ; returns #\MATHEMATICAL_DOUBLE-STRUCK_CAPITAL_A On my machine (CODE-CHAR 120120) doesn't return nil, but it returns a character whose name is nil. CL-USER 1 > (describe (code-char 120120)) ; Loading C:\Program Files\LispWorks\lib\7-0-0-0\load-on-demand\ccl\describe.64ofasl on demand... ; Loading C:\Program Files\LispWorks\lib\7-0-0-0\load-on-demand\ccl\inspector-values.64ofasl on demand... ; Loading C:\Program Files\LispWorks\lib\7-0-0-0\load-on-demand\ffi\types\inspector.64ofasl on demand... #\𝔸 is a CHARACTER Name NIL Code 120120 > Is there any way to make LW behave the same way? I'm not sure if you can make LW behave exactly the same way as SBCL here. But you may want to take a look at the CL-UNICODE library. CL-USER 7 > (ql:quickload :cl-unicode) To load "cl-unicode": Load 1 ASDF system: cl-unicode ; Loading "cl-unicode" (:CL-UNICODE) CL-USER 8 > (cl-unicode:unicode-name (code-char 120120)) "MATHEMATICAL DOUBLE-STRUCK CAPITAL A" --- Arthur _______________________________________________ Lisp Hug - the mailing list for LispWorks users lisp-hug@lispworks.com http://www.lispworks.com/support/lisp-hug.html