File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "UTF-8 in j2ee-sdk1.2.1" Watch "UTF-8 in j2ee-sdk1.2.1" New topic
Author

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 :

http://java.sun.com/j2ee/sdk_1.2.1/techdocs/api/index.html

http://java.sun.com/j2ee/sdk_1.3/techdocs/api/index.html

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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UTF-8 in j2ee-sdk1.2.1
 
Similar Threads
how to download j2ee 1.3 API documentaion
How to find session is re-created
Request Dispatcher
From where i can get EJP API
CharacterEncoding