pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: LiuYan 刘研 <lovetide@21cn.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Chinese database name in URL, can I ?
Date: Tue, 23 Oct 2007 11:59:49 -0400
Message-ID: <19162.1193155189@sss.pgh.pa.us> (raw)
In-Reply-To: <13366356.post@talk.nabble.com>
References: <13366356.post@talk.nabble.com>

=?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



view thread (5+ messages)  latest in thread

Message-ID: <19162.1193155189@sss.pgh.pa.us>
Permalink:  ../19162.1193155189@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19162.1193155189@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, lovetide@21cn.com
  Subject: Re: Chinese database name in URL, can I ?
  In-Reply-To: <19162.1193155189@sss.pgh.pa.us>
  References: <13366356.post@talk.nabble.com> <19162.1193155189@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox