Our java Application takes UTF-8 encoded unicode data and sores in a Java String , and should insert that into Oracle8.1.7 database. Oracle database has US7ASCII encoding. So when i insert data some of the characters are being lost, and i see '?' being inserted into database. How can i convert this UTF-8 encoded java String into ASCII so that database can load it.
Can anyone suggest what to do... --- Shilpa Nalgonda <[EMAIL PROTECTED]> wrote: > can u point me to a resource how i can do it. > > -----Original Message----- > From: Evgeny Gesin [mailto:[EMAIL PROTECTED] > Sent: Friday, October 29, 2004 9:42 AM > To: Tomcat Users List > Subject: Re: Internationalization of characters > --UTF8 encoding > > > > .. is supposed to take japanese characters an > insert > > them into database. Is there any setting in > Tomcat4 > > where i should be giving the encoding option. > > You can specify parameters for SQL driver when you > define DataSource in Tomcat's server.xml. I think > most > of Oracle drivers can process UTF-8, without the > needs > for such parameters, but MySQL 3.xx, for example, > needs such parameters... > > Evgeny > Javadesk / AllTelescopes > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail Address AutoComplete - You start. We > finish. > http://promotions.yahoo.com/new_mail > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
