Re: Re: Enhydra: character encoding in DODS
Petr Stehlik <[email protected]> Thu, 18 Dec 2003 17:17:36 +0100
| Newsgroups | gmane.comp.java.enhydra.general |
|---|---|
| Message-ID | <[email protected]> |
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