This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
It is sorta covered in the JavaRanch Style Guide.
subject: Char Encoding of Text Input
Similar Threads
Unable to read charset using
Set an encoding scheme for InputStreamReader and ByteArrayOutputScream !!!
character encoding problem
string delimiter
Understanding Byte Data and Character Encoding