I put this annotation to every page object.
@Meta(value = {"tapestry.response-content-type=text/html",
"tapestry.response-encoding=ISO-8859-2"})
public class MyPageObject {
}
The encoding is ISO-8859-2 because my DB encoding that.
And in every language properties file I use unicode escape ch
Charset puzzled me too.
I add Chinese resources file.
But cannot show properly.
I have tried:
1.add org.springframework.web.filter.CharacterEncodingFilter, doesn't work;
2.native2ascii resource files, doesn't work;
3.add
configuration.add("tapestry.supported-locales", "en,zh");
doesn't w
Thanks for answering.
But I DID add this into my AppModule, but the problem is still there.
I finanlly solved this by using Spring charset encoding filter.
2007/12/29, Michael Lake <[EMAIL PROTECTED]>:
>
>
> I'm also having this issue and i'm not even chinese.I did find this
> though:
>
> http
I'm also having this issue and i'm not even chinese.I did find this
though:
http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding
i'll give it a shot with 5.0.8-SNAPSHOT though
On Dec 28, 2007, at 11:03 AM, Howard Lewis Ship wrote:
Thanks, will look into this.
On Dec 27, 2007 6:59 PM, yu
Thanks, will look into this.
On Dec 27, 2007 6:59 PM, yuan gogo <[EMAIL PROTECTED]> wrote:
> I got t5.0.7 this morning. As I'm a Chinese user, I use utf-8 encoding for
> my application.
>
> But, while upload file and some text, I got this:
>
> java.lang.NullPointerException: charsetName
>
>
I got t5.0.7 this morning. As I'm a Chinese user, I use utf-8 encoding for
my application.
But, while upload file and some text, I got this:
java.lang.NullPointerException: charsetName
java.lang.String.(String.java:442)
java.lang.String.(String.java:516)
org.apache.commo