struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghuveer" <>
Subject RE: InternetExplorer > View... > Encoding
Date Thu, 26 Jun 2008 13:35:05 GMT
Even though if client browser has languages /different q values.
In my application Language / Locale is not identified by
request.getHeader("Accept-Charset") .
SO this will be null.

I am build local object for multiple languages based on click of button.
Setting the locale object insession for Globals.LOCALE_KEY.

In JSP pages I am testing the respective locales by

-----Original Message-----
From: Antonio Petrelli [] 
Sent: Thursday, June 26, 2008 5:35 PM
To: Struts Users Mailing List;
Subject: Re: InternetExplorer > View... > Encoding

2008/6/26 Raghuveer <>:
> Is there a way to identify in JSP or in Action File if the encoding has
> modified at client side by user and show a message that
> "This application has been design to work in UTF-8 Encoding "

Yes, check the "Accept-Charset" header field:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message