• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

UTF-8 in j2ee-sdk1.2.1

 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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-???-??
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic