tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shilpa Nalgonda" <snalgo...@mypublisher.com>
Subject RE: Internationalization of characters --UTF8 encoding
Date Fri, 29 Oct 2004 19:37:32 GMT
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 <snalgonda@mypublisher.com> wrote:

> can u point me to a resource how i can do it.
>
> -----Original Message-----
> From: Evgeny Gesin [mailto:evgenygesin@yahoo.com]
> 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:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
>
>




__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message