Skip to content

Commit

Permalink
Merge pull request #14 from eriedaberrie/fix-utf8-encode
Browse files Browse the repository at this point in the history
fix passing a character to %utf8-encode
  • Loading branch information
cxxxr authored May 15, 2024
2 parents 23f52d5 + 21a5a00 commit f80d777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/backend.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit f80d777

Please sign in to comment.