diogoalexandrefranco / cl-strings

A portable, dependency-free set of utilities to manipulate strings in Common Lisp
MIT License
46 stars 7 forks source link

File encoding issue #10

Closed erikronstrom closed 3 years ago

erikronstrom commented 5 years ago

Hi,

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):

;;; -*- mode: lisp; encoding: (utf-8) -*-