From 21a5a00dfb2edbcc381c14514056b66541ef70ce Mon Sep 17 00:00:00 2001 From: eriedaberrie Date: Tue, 14 May 2024 10:06:22 -0700 Subject: [PATCH] fix passing a character to %utf8-encode ref https://github.com/slime/slime/commit/f1f9991c697de2ecf0f3c1f0d43175ac35cb713c --- backend/backend.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/backend.lisp b/backend/backend.lisp index 69a3cb4..930335e 100644 --- a/backend/backend.lisp +++ b/backend/backend.lisp @@ -285,7 +285,7 @@ form suitable for testing with #+." (t start))) ((<= code #x7ff) (utf8-encode-aux code buffer start end 2)) ((<= #xd800 code #xdfff) - (%utf8-encode (code-char #xFFFD) ;; Replacement_Character + (%utf8-encode #xFFFD ;; Replacement_Character buffer start end)) ((<= code #xffff) (utf8-encode-aux code buffer start end 3)) ((<= code #x1fffff) (utf8-encode-aux code buffer start end 4))