[cl-who-devel] The problem with "esc"

Stas Boukarev stassats at gmail.com
Tue Jul 31 02:05:33 UTC 2012


Kenneth Yan <yanxiaoguang at 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=\"你好\">"
Try escape-string instead.

-- 
With best regards, Stas.




More information about the Cl-who-devel mailing list