File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Char Encoding of Text Input Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Char Encoding of Text Input" Watch "Char Encoding of Text Input" New topic

Char Encoding of Text Input

Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
I want to allow the user to input non ISO 8859-1 character. However, it seems that the IE 6 doesn't send something up in request header to indicate the exact character encoding being used in my input form. I am not familiar with HTTP. Should the encoding also embedded as Content-Type:charset=... request header? If yes, how do we tell IE to do so? Or how do we force the server to interpret the request as a certain char encoding even if the browser doesn't indicate it.
I agree. Here's the link:
subject: Char Encoding of Text Input
It's not a secret anymore!