When loading cl-strings with quicklisp in LispWorks, clean-diacritics doesn't work:
> (cl-strings:clean-diacritics "åäö")"åäö"
This is because LispWorks loads cl-strings.lisp as latin1 while it is actually saved as utf8. A simple solution would be to add the following to cl-strings.lisp (as the first line):
Hi,
When loading
cl-strings
withquicklisp
in LispWorks, clean-diacritics doesn't work:> (cl-strings:clean-diacritics "åäö")
"åäö"
This is because LispWorks loads
cl-strings.lisp
as latin1 while it is actually saved as utf8. A simple solution would be to add the following tocl-strings.lisp
(as the first line):;;; -*- mode: lisp; encoding: (utf-8) -*-