cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 許議中 <>
Subject how to change xsp input encoding in xsl
Date Fri, 08 Dec 2006 15:17:32 GMT

I want to do a form, when input some words, it can use url to call other
web site to get a qrcode.

the xsp input like this:

    <form method="GET">
      <input type="text" name="username">
        <xsp:attribute name="value"><xsp-request:get-parameter
name="username" default="[yourname]" as="string"/></xsp:attribute>
      <input type="submit" name="submit" value="Submit"/>
the default font encoding is UTF-8.

the xsl like this:

        <img align="middle" width="100" height="100">
          <xsl:attribute name="src"><xsl:value-of

it ok when the input words is alpha and english, but when other words
like chinese japanese, it's wrong.

I think it's encoding problem, how to change the input encoding for the url.

Best Regards


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message