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
request.getSession().getAttribute(Globals.LOCALE_KEY)



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

2008/6/26 Raghuveer <[EMAIL PROTECTED]>:
> Is there a way to identify in JSP or in Action File if the encoding has
been
> 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:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.2

Antonio


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to