Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id B33409F95C9 for ; Tue, 23 Oct 2007 13:01:03 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 21925-02-2 for ; Tue, 23 Oct 2007 13:00:55 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 6770E9F9267 for ; Tue, 23 Oct 2007 13:00:37 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l9NFxnj3019163; Tue, 23 Oct 2007 11:59:50 -0400 (EDT) To: =?UTF-8?Q?LiuYan_=E5=88=98=E7=A0=94?= cc: pgsql-jdbc@postgresql.org Subject: Re: Chinese database name in URL, can I ? In-reply-to: <13366356.post@talk.nabble.com> References: <13366356.post@talk.nabble.com> Comments: In-reply-to =?UTF-8?Q?LiuYan_=E5=88=98=E7=A0=94?= message dated "Tue, 23 Oct 2007 08:16:38 -0700" Date: Tue, 23 Oct 2007 11:59:49 -0400 Message-ID: <19162.1193155189@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/122 X-Sequence-Number: 17694 =?UTF-8?Q?LiuYan_=E5=88=98=E7=A0=94?= 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