It's specific for driver you use. I don't have a url
for Oracle drivers, I use JConnector for MySQL
http://dev.mysql.com/doc/connector/j/en/

Here is sample of driver line in server.xml:

jdbc:mysql://127.0.0.1:3306/db?autoReconnect=true&useUnicode=true&characterEncoding=utf8&amp

Take attention of these two parameters useUnicode=true
and characterEncoding=utf8.

Evgeny
Javadesk / AllTelescopes


--- 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]

Reply via email to