Of course, escape-string always works. But this is not my point. Since "esc" is the shortcut of "escape-string", hope "esc" will be better.
Best,
Kenneth
Try escape-string instead.Kenneth Yan <yanxiaoguang@gmail.com> writes:
> Dear all,
>
> Please pay attention to the issue below.
>
> (with-html-output-to-string (*standard-output* nil :prologue nil)
> (:input :type "text" :name (escape-string "你好") :readonly "readonly"
> :value (esc "你好")))
>
> "<input type=\"text\" name=\"你好\"
> readonly=\"readonly\"你好 value=\"你好\">"
--
With best regards, Stas.
_______________________________________________
cl-who-devel site list
cl-who-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-who-devel