Some Japanies charaters cannot be seen when using JDBC driver

Started by Nonameover 24 years ago2 messagesgeneral
Jump to latest
#1Noname
viraj@lk.opro.net

Hello,

I am using JDBC driver for postgreSQL database. The database I have
created has japanies character in it. It was created using EUC_JP
character set. But when I query the table in that database, Some
japanies characters are not shown (a ? is shown instead). But when I
use ODBC driver it shows these data without any problem.

Version of the ODBC driver is 6.5

I tried the following JDBC drivers
jdbc6.5-1.2.jar,jdbc7.0-1.2.jar,jdbc7.0-1.1.jar and jdbc6.5-1.1.jar.
None of them solved this problem. In Some drivers all japanies
charaters appeared garbage.

Are there any method of solving this problem ?

Thanks
Viraj

#2Corn
corn@tryit.com
In reply to: Noname (#1)
Re: Some Japanies charaters cannot be seen when using JDBC driver

I have the same problem.
I setup an apache server /w JServ on linux machine.
But when I access a unicode database. I only return ??? charachers. But I
can read it correctly by odbc.
It seems jserv cannot process unicode character.

I read a homepage said that I can set jserv.properties about
wrapper.bin.parameters=-Dfile.encoding=Big5 but I fail to set it.

or u can try to specify the jvm's encoding by -Dfile.encoding parameters.

Sydney

"viraj" <viraj@lk.opro.net> wrote in message
news:821a5364.0109170146.277dd5a9@posting.google.com...

Show quoted text

Hello,

I am using JDBC driver for postgreSQL database. The database I have
created has japanies character in it. It was created using EUC_JP
character set. But when I query the table in that database, Some
japanies characters are not shown (a ? is shown instead). But when I
use ODBC driver it shows these data without any problem.

Version of the ODBC driver is 6.5

I tried the following JDBC drivers
jdbc6.5-1.2.jar,jdbc7.0-1.2.jar,jdbc7.0-1.1.jar and jdbc6.5-1.1.jar.
None of them solved this problem. In Some drivers all japanies
charaters appeared garbage.

Are there any method of solving this problem ?

Thanks
Viraj