From yanxiaoguang at gmail.com Tue Jul 31 01:49:59 2012 From: yanxiaoguang at gmail.com (Kenneth Yan) Date: Tue, 31 Jul 2012 09:49:59 +0800 Subject: [cl-who-devel] The problem with "esc" Message-ID: 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 "??"))) "" Best, Kenneth -------------- next part -------------- An HTML attachment was scrubbed... URL: From stassats at gmail.com Tue Jul 31 02:05:33 2012 From: stassats at gmail.com (Stas Boukarev) Date: Tue, 31 Jul 2012 06:05:33 +0400 Subject: [cl-who-devel] The problem with "esc" In-Reply-To: (Kenneth Yan's message of "Tue, 31 Jul 2012 09:49:59 +0800") References: Message-ID: <873948znv6.fsf@gmail.com> Kenneth Yan 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 "??"))) > > " readonly=\"readonly\"你好 value=\"你好\">" Try escape-string instead. -- With best regards, Stas.