Re: Multibyte or not?

From: Anders Bengtsson <ndrsbngtssn(at)yahoo(dot)se>
To: Anthony Kwok <anthonykwok(at)writeme(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Multibyte or not?
Date: 2002-02-28 12:06:59
Message-ID: 1014898021.1304.4.camel@spinoza
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Anthony Kwok wrote:

> Is there any way I can check out if my installation has the multibyte support? Or anyone can tell the pre-compiled Red hat rpm package support multibyte or not?

You could check with "select pg_encoding_to_char(1);" which is how the
JDBC driver itself does it internally.
If it gives 'EUC_JP' the backend has multibyte support, 'SQL_ASCII'
means it hasn't.

/Anders

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Benoit Menendez 2002-02-28 18:48:43 Re: Case folding in DatabaseMetaData
Previous Message Anthony Kwok 2002-02-28 03:33:26 Re: Multibyte or not?