Re: Chinese database name in URL, can I ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: LiuYan 刘研 <lovetide(at)21cn(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Chinese database name in URL, can I ?
Date: 2007-10-23 15:59:49
Message-ID: 19162.1193155189@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

=?UTF-8?Q?LiuYan_=E5=88=98=E7=A0=94?= <lovetide(at)21cn(dot)com> writes:
> I've also tried add '&charSet=GBK' in the jdbcURL, and got the same result.

At a guess, the name of the database will have to be in UTF8. I doubt
that JDBC will think it should do any character set conversion on it.

regards, tom lane

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Matthew Storer 2007-10-23 17:12:16 "Something unusual has occured" error using PostgreSQL 8.2 with Apache Commons DBCP 1.2.2
Previous Message LiuYan 刘研 2007-10-23 15:16:38 Chinese database name in URL, can I ?