localization problem: the data sumitted from  form can't display correctly in 
non english, such as chinese.
-----------------------------------------------------------------------------------------------------------

                 Key: TAPESTRY-1294
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1294
             Project: Tapestry
          Issue Type: Bug
          Components: Core
    Affects Versions: 5.0
         Environment: Container: Tomcat 5.5.20 or jetty 6.1
OS: Winxp Sp2
Language: Simplifiey Chinese
            Reporter: LinuxBoy


1. The following problem is only in Tapestry-5.0.2:
      I input chinese words into a form in Login page, and then turn to Start 
page. Start page can't display chinese. 
      For example, I input chinese "中国" in Login page, and I just see 
"中国" in Start page. 
      It looks like the data of form is encoded in ascii, not in UTF-8.
      The problem still exists even I change the app locale to "zh".
2.The following problems are both  in Tapestry-5.0.1 and Tapestry-5.0.2:
      (1) When the content of HTML template has non english words, such as 
chinese, the page can't display the words correctly.
       We can only see "?" in the page, but english content is ok.
      (2) When the page class returns a chinese string directly, we can only 
see "?" in the page at runtime.
            For example: 
            In Start.html: ${hello}
            In Start.java: public String getHello(){return "中国( some chinese 
words)!";}
            The start page will display "??( some chinese words)!" at runtime.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to