Re: charset encoding bug

2007-04-24 Thread Sean Bridges
Thanks Rashmi for clearing that up. I will try to get spring to stop setting the Locale. >Christopher writes > The character set has to be chosen at some point. It > looks like what you are suggesting is that you want > to actually report an incorrect character set (or > none, which is just as

Re: charset encoding bug

2007-04-24 Thread Sean Bridges
Thanks for the reply Rashmi. I did a little more digging, and it seems this bug only appears when the locale is set. My full servlet code is, import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest;

charset encoding bug

2007-04-24 Thread Sean Bridges
Sorry Rashmi, here is the problem without referencing other bugs. There is a problem with HttpServletResponse. If I set the content type of an HttpServletResponse, the charset is also set. For example consider the following code, HttpServletResponse sresp = ... sresp.setContentType("application

charset encoding bug

2007-04-24 Thread Sean Bridges
Hello, I originally posted this as a comment to bug 32499, (http://issues.apache.org/bugzilla/show_bug.cgi?id=32499), and was told to send it to the users mailing list. Bug 32499 was marked as a duplicate of 24970, but it is not a duplicate. Bug 24970 was marked as wont fix, which is appropria