Comment 0 for bug 2066217

Revision history for this message
mrkissinger (mrkissinger) wrote :

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.

Is this a bug or a feature? Can I avoid it?