logo       

Re: Re: Enhydra: character encoding in DODS: msg#00023

java.enhydra.general

Subject: Re: Re: Enhydra: character encoding in DODS

On Thu, 2003-12-18 at 15:16, Daniel Germain wrote:
> >But you have to specifically know the encoding of the database. I'm no
> >specialist of JDBC, so I don't know what are really the issues here
>
> For Postgresql you can specify the charSet with the connection URL.
>
> DatabaseManager.DB.example.Connection.Url =
> "jdbc:postgresql://192.168.1.1/yourDbName?charSet=iso-8859-1"

Thanks! That was it!

For MySQL and J/Connector works this URL:

"jdbc:mysql://localhost/yourDBName?characterEncoding=windows-1250&useUnicode=true"

Petr


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise