Hi!

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>
      <input type="submit" name="submit" value="Submit"/>
    </form>
the default font encoding is UTF-8.


the xsl like this:

        <img align="middle" width="100" height="100">
          <xsl:attribute name="src">http://qrcode.jp/qr?q=<xsl:value-of
select="form/input/@value"/>
          </xsl:attribute>
        </img>

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

johnson

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to