UTF8 and Hangul(2byte languages) Character Set Detecting Servlet Filter

Auto detects if the servlet requests are in UTF8 or not.
Basically, url encoding should use UTF-8 charset, but IEs and some old browsers use native encoding by default.
This is not a standard behavior, but to make the servlet work as intended, we need to work around this bad habbit.
This filter tries to detect if the servelt request parameters are in UTF8 or some given charset.
See i18nm: URL encoding code

created : May 4, 2002
updated : March 10, 2003

Sources
UTFDetectFilter.java
web.xml


Yoon Kyung Koo <yoonforh at yahoo dot com>
Last modified: Tue Mar 11 00:20:47 +0900 2003