Re: Chinese database name in URL, can I ? - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: Chinese database name in URL, can I ?
Date
Msg-id 19162.1193155189@sss.pgh.pa.us
Whole thread Raw
In response to Chinese database name in URL, can I ?  (LiuYan 刘研 <lovetide@21cn.com>)
Responses Re: Chinese database name in URL, can I ?  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc
=?UTF-8?Q?LiuYan_=E5=88=98=E7=A0=94?= <lovetide@21cn.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

pgsql-jdbc by date:

Previous
From: LiuYan 刘研
Date:
Subject: Chinese database name in URL, can I ?
Next
From: "Matthew Storer"
Date:
Subject: "Something unusual has occured" error using PostgreSQL 8.2 with Apache Commons DBCP 1.2.2