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 (read-from-string s)))
測試(中文)
測試(中文)
NIL
CL-USER>
I tested in both SBCL and CLISP, the results are same.
I want to keep the utf-8 parentheses as normal characters in string, not LISP parenthese as list mark.
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 "測試(中文)"))
(read- from-string s)))
(format t "~A~%~A~%"
s
測試(中文)
測試(中文)
NIL
CL-USER>
I tested in both SBCL and CLISP, the results are same.
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?