read-from-string convert utf-8 parentheses to ascii parentheses
Bug #2066217 reported by
mrkissinger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'am using read-from-string to read a string which contains utf8 parentheses characters "()", but LISP converts them into ASCII parenthese characters "()"。
CL-USER> (let ((s "測試(中文)"))
(format t "~A~%~A~%"
s
測試(中文)
測試(中文)
NIL
CL-USER>
I want to keep the utf-8 parentheses as normal characters in string, not LISP parenthese as list mark.
Is this a bug or a feature? Can I avoid it?
description: | updated |
To post a comment you must log in.
I tested again in console, clisp and sbcl gave different results.
$clisp test.lisp
測試(中文)
測試(中文)
$sbcl --script test.lisp
測試(中文)
測試(中文)