How get current client browser encoding?

Hi.How can I learn what encoding user uses when enter data into text field?
[89 byte] By [AChervov] at [2007-11-26 10:10:55]
# 1
Isn't it what user can enter is based on the ""Content-Type" and "Content-Language" you send to the browser via the request header.Wondering why you would want to depend on browser settings?- Winston http://blogs.sun.com/roller/page/winston?catname=Creator
wjprakash at 2007-7-7 1:56:37 > top of Java-index,Development Tools,Java Tools...
# 2

Hi, Winston.

I try to resolve my problem with character enoding. It seems I found a culprit: It is FileUpload component. I have already posted in http://forum.sun.com/jive/thread.jspa?threadID=106660&tstart=0

There is post with problem alike

http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=65081

So if it is really a bug, how can I hande character enoding? Assuming, in worst case, page encoding is UTF-8, client locale encoding always is Cyrillic Windows-1251 (stardard de-facto in Russia) ? And I need to save data into Oracle database with CL8MSWIN1251 encoding.

AChervov at 2007-7-7 1:56:37 > top of Java-index,Development Tools,Java Tools...