Lisp HUG Maillist Archive

Case in non-latin text

Hi List,

I just noticed that

(equalp "ABC" ”abc")  =>  T

(equalp "АБЦ" "абц")  =>  NIL


Is there built-in support for non-latin scripts in LispWorks, or should I go for cl-ppcre-unicode or something similar?

Erik



_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Re: Case in non-latin text

Erik Ronström wrote on Sun, 11 Feb 2018 12:52:48 +0100 14:52:

| I just noticed that
|
| (equalp "ABC" ”abc")  =>  T
|
| (equalp "АБЦ" "абц")  =>  NIL
|
| Is there built-in support for non-latin scripts in LispWorks, or should
| I go for cl-ppcre-unicode or something similar?

I believe lw:unicode-string-equal can fit.
--
Sincerely,
Dmitry Ivanov
lisp.ystok.ru

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Updated at: 2020-12-10 08:30 UTC