tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark <sendmailtom...@yahoo.com>
Subject Re: Q:how to remove charset from HTTP responce to allow browser use a browser selected charset?
Date Thu, 06 Oct 2005 19:12:47 GMT
Hi Mark,
In my case servlet generates an output, so no JSP for now...
Can I do it using filters? Or define and store user's prefs with
encoding outside of tomcat and  in the session and use if it's exists
in the session?

Thanks a lot!
Mark.

--- Mark Thomas <markt@apache.org> wrote:

> Mark wrote:
> > Hello,
> > 
> > In my application users enter data using different languages.
> > The problem I'm facing is the browser sets the page encoding
> always
> > to ISO-8859-1. (I guess this is default based on server OS)
> > 
> > User can change encoding on the page (Browser settings) and
> > everything looks OK but only for one page. On the next page
> encoding
> > is back to ISO-8859-1.
> > Is there any way to instruct tomcat not to send the page
> encoding?
> 
> If you are using JSPs, no. The spec requires that the charset is
> set.
> 
> Mark
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
> 



	
		
______________________________________________________ 
Yahoo! for Good 
Donate to the Hurricane Katrina relief effort. 
http://store.yahoo.com/redcross-donate3/ 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message