Re: Some Japanies charaters cannot be seen when using JDBC driver

Поиск
Список
Период
Сортировка
От Corn
Тема Re: Some Japanies charaters cannot be seen when using JDBC driver
Дата
Msg-id 9o6qb6$2kmo$1@news.tht.net
обсуждение исходный текст
Ответ на Some Japanies charaters cannot be seen when using JDBC driver  (viraj@lk.opro.net (viraj))
Список pgsql-general
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...
> 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



В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problem with database: FATAL 1: cannot find attribute 24
Следующее
От: Cosmos Tong
Дата:
Сообщение: Re: Error in compiling PHP with PostgreSQL support