Re: Help with filter affecting Chinese words in request parameters

2006-04-10 Thread Mark Hagger
Hi, This may not be relevant here, but one standard gotcha that keeps hitting me is a difference in the platforms default encoding. Ie some machines have a default of ISO-88591, some CP1252, and some UTF-8. The JVM then just merrily does stuff using the default encoding, and thus developers get

Re: Help with filter affecting Chinese words in request parameters

2006-04-10 Thread Kurt Overberg
I'm running using Unicode for international characters, and I have -Dfile.encoding=UTF-8 set on my VMs. Also, at the top of all my JSP pages, I have: %@ page language=java pageEncoding=UTF-8% ...we may also have a Filter set up to something in the chain, but I can't check that right now.

Re: Help with filter affecting Chinese words in request parameters

2006-04-10 Thread roy tang
Thanks to everyone who replied. One of the devs found a workaround...we set the filter to set the encoding of both the request and the response (previously we only tried setting one or the other...apparently both have to be set correctly) Regards, Roy On 4/10/06, roy tang [EMAIL PROTECTED]

Help with filter affecting Chinese words in request parameters

2006-04-09 Thread roy tang
Hi, I'm new to this list, hope someone here can help. :) We're developing a webapp that should be able to accept Chinese input. We also have a filter installed in the webapp for some auditing that we need to do per request that's processed. However, we've found that when we submit a form with

Re: Help with filter affecting Chinese words in request parameters

2006-04-09 Thread Mike Sabroff
So, what are the differences on the machines that have the problem vs the ones that don not?? roy tang wrote: Hi, I'm new to this list, hope someone here can help. :) We're developing a webapp that should be able to accept Chinese input. We also have a filter installed in the webapp for some