This may be an off topic question I'm not sure.
Sorry for posting this question but i didn't receive any replies from the
adequate mailing lists.
I wonder if anyone have came across this situation.

Having a servlet linking to Oracle8 using JDeveloper.

The problem is when I need to insert into the DataBase strings having the
local character set. How can I perform the reverse encoding.

Knowing that I've managed to retrieve the data from the database & converted
it to my local characterset using the following syntax
  ResultSet resultSet = (connection.createStatement ()).executeQuery
 stringQuery ) ;
  resultSet.next () ;
  String string = new String ( (resultSet.getString ( 1 )).getBytes
 stringLocalEncoding ) ;

Best Regards
Amr Mostafa

________________________________________________________________

Dial 07770888 and enjoy the InterNet Speeeeeeeed! (Cairo Only)
For more information visit http://www.misrnet.com.eg

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to