I have designed a web multiannual web application in "UTF-8".

 

JSP Code:

<%@ page contentType="text/html;charset=utf-8"  %>

<%

request.setCharacterEncoding("utf-8"); // this can be added in Servlet
Filter or in Action Form

%>

 

When JSP page is rendered it is found in 

IE > View... > Encoding > Unicode (UTF-8) >

 

Is it possible to restrict the user to change encoding option in browser? 

Example:

IE > View... > Encoding > Central European >

 

 

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 " 

 

 

 

 

                            

 

Reply via email to