Re: [JDBC] RE : ? (question mark) characters

2001-09-04 Thread Quentin DELANCE
Barry Lind a écrit : Kovács Péter wrote: the driver what character set the backend is sending us? Can't it ask the backend dynamically? This is what it actually does, isn't it? (Based on what I usually see in the trace output on the backend.) I tested a unicode database with

Re: [JDBC] RE : ? (question mark) characters

2001-09-03 Thread Kovács Péter
the driver what character set the backend is sending us? Can't it ask the backend dynamically? This is what it actually does, isn't it? (Based on what I usually see in the trace output on the backend.) I tested a unicode database with varchar(255) fields and hungarian accented characters and

Re: [JDBC] RE : ? (question mark) characters

2001-09-03 Thread Rene Pijlman
On Mon, 03 Sep 2001 09:49:27 -0700, you wrote: Yes this is exactly what the driver does. It asks the server what character set is being used for the database. Unfortunatly the server only knows about character sets if multibyte support is compiled in. If the server is compiled without

Re: [JDBC] RE : ? (question mark) characters

2001-09-03 Thread Barry Lind
Kovács Péter wrote: the driver what character set the backend is sending us? Can't it ask the backend dynamically? This is what it actually does, isn't it? (Based on what I usually see in the trace output on the backend.) I tested a unicode database with varchar(255) fields and hungarian

Re: [JDBC] RE : ? (question mark) characters

2001-09-01 Thread Rene Pijlman
I'm forwarding this workaround to the list. Can someone shed some light on this? Java uses Unicode and should be able to represent all ISO Latin-1 (8859-1) encoded characters. Why would we need to tell the driver what character set the backend is sending us? Can't it ask the backend dynamically?

Re: [JDBC] Re: ? (question mark) characters

2001-08-31 Thread Tony Grant
On Thu, 2001-08-30 at 18:41, Barry Lind wrote: Ricardo, Is your database compiled for multibyte support? And what character set is the database you are connecting to created with? (to get the database character set do a 'psql -l'). If the answer to the first question is no or the

[JDBC] Re: ? (question mark) characters

2001-08-30 Thread Michael Stephenson
Ok, I tried all the drivers currently available at http://jdbc.fastcrypt.com. They all seem to correct the problem with long (8k) SQL statements, but they're all broken considering Portuguese characters like áéíóú (aeiou with accent)... they are replaced by question marks (?)... any ideas?

[JDBC] Re: ? (question mark) characters

2001-08-30 Thread Barry Lind
Ricardo, Is your database compiled for multibyte support? And what character set is the database you are connecting to created with? (to get the database character set do a 'psql -l'). If the answer to the first question is no or the answer to the second question is 'SQL_ASCII', then only