This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Servlets and the fly likes UTF-8 in j2ee-sdk1.2.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "UTF-8 in j2ee-sdk1.2.1" Watch "UTF-8 in j2ee-sdk1.2.1" New topic

UTF-8 in j2ee-sdk1.2.1

ram kumar
Ranch Hand

Joined: May 22, 2008
Posts: 146
I probably noticied that j2ee/sdk1.2.1 does not have the setCharacterEncoding() method.

I get Compared with these links :

@Link :

Currently in my servlet when i used

request.getCharacterEncoding() it reurned "ISO-8859-1".

#question - 1

Is this UTF-1 ?

I need to use utf-8 in my servlet but am using j2ee/sdk1.2.2 which do not have the setCharacterEncoding() method !

SO, I cannot set UTF-8 ! Is this right ?

#question - 2

Is there any other way to solve the problem !

#question - 3

Also, would some one brief me about what is

ISO-8859-1 is this an equivalent to UTF-1

if so,

what is the equivalet of UTF-1 ? IS0-???-??

Discussion - the powerfull way to excellence!
Don't get me started about those stupid light bulbs.
subject: UTF-8 in j2ee-sdk1.2.1
It's not a secret anymore!