Re: [PATCH] Cleanup of JDBC character encoding

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Anders Bengtsson <ndrsbngtssn(at)yahoo(dot)se>
Cc: pgsql-jdbc(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [PATCH] Cleanup of JDBC character encoding
Date: 2001-07-12 20:09:39
Message-ID: 200107122009.f6CK9d527869@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-patches


Oops, patch superceeded. Removing from queue.

> Hello,
>
> With this patch I've done an attempt to make the handling of character
> encoding in the JDBC driver a little clearer.
>
> * Cleans up the logic to select a JVM encoding for a backend encoding.
> * Makes the connection setup code easier to read.
> * Gathers character encoding and decoding in a single place.
> * Adds unit tests for encoding.
> * Introduces a new class, org.postgresql.core.Encoding, and the
> corresponding unit test class, org.postgresql.test.jdbc2.EncodingTest.
>
> It shouldn't change the external behavior of the driver.
>
> /Anders
>
> _____________________________________________________________________
> A n d e r s B e n g t s s o n ndrsbngtssn(at)yahoo(dot)se
> Stockholm, Sweden

Content-Description:

[ Attachment, skipping... ]

Content-Description:

[ Attachment, skipping... ]

Content-Description:

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Martín Marqués 2001-07-12 20:12:04 Re: vacuum and 24/7 uptime
Previous Message Bruce Momjian 2001-07-12 19:59:58 Re: To do list for DatabaseMetaData

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-07-12 20:12:44 Re: [PATCHES] Re: [PATCH] Cleanup of JDBC character encoding
Previous Message Bruce Momjian 2001-07-12 19:57:56 Re: [PATCH] Cleanup of JDBC character encoding