Hi Angelo, Are you using tapestry-upload on the same page? If yes then it's the culprit. You can patch it contributing a service alias in your app module but I don't have a sample at hand right now. Maybe I can dig up something in the evening (it's afternoon right now).
Lauri Angelo Chen wrote: > > Hi, > > I encoded some chinese in utf 8 and submit, the data saved to mysql is > garbage, if I encode the data directly into mysql table using a native > client, then display back in t5 app page, it shows correctly, i tried > adding the wiki's approach: > public RequestFilter buildUtf8Filter( > @InjectService("RequestGlobals") final RequestGlobals > requestGlobals) > { > return new RequestFilter() > { > public boolean service(Request request, Response > response, RequestHandler handler) > throws IOException > { > > > requestGlobals.getHTTPServletRequest().setCharacterEncoding("UTF-8"); > return handler.service(request, response); > } > }; > } > > any idea? thanks. > > A.C. > -- View this message in context: http://www.nabble.com/t5%3A-utf8%28chinese%29-in-form-tp15628787p15632485.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]