You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ratnakar Palle <rp...@cisco.com> on 2001/04/16 21:39:14 UTC

How to know Browser's Charset Encoding?

Looks like, most of the browsers like IE5.0 or NS4.7 doesn't return the
encoding type.
At least, I checked it with Servlet request.getCharacterEncoding() which
returns null. I'm using Tomcat3.2.1 on Windows2000.

Is there a way to know what kind of encoding, the browser is using ??
Is it possible by using JavaScript? If so, what's the method or function to
do it...

Thanks for your time,
-Ratnakar