Re: JDBC part of KOI8-U [was: patch to support KOI8-U <==> UTF-8 conversions (2nd try)]

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andy Rysin <arysin(at)yahoo(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: JDBC part of KOI8-U [was: patch to support KOI8-U <==> UTF-8 conversions (2nd try)]
Date: 2001-05-03 23:08:00
Message-ID: 200105032308.f43N80n07164@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Sorry, I can't patch this into 7.1.1. It is a feature addition with
little testing, and it touches the man jdbc code. I will keep it for
7.2.

> that's just me again, here's normal patch for KOI8_U to
> jdbc/Connection.java
>
> Andy
> P.S. in Connection.java if encoding=="WIN" then dbEncoding is set to
> "Cp1252".
> What if it's Cyrillic "WIN"? Than it should be "Cp1251". Is there any
> way to fix that without making different "WIN" encodings in
> PostgreSQL?
>
> --- Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> wrote:
> > I did
> > not apply this part of the patch:
> >
> > +//#ifndef HAVE_KOI8_U_IN_JDK
> > dbEncoding = "KOI8_R";
> > +//#else
> > +// if you have KOI8_U conversion classes - we have to put it as
> > parameter in 'congigure'
> > +// dbEncoding = "KOI8_U";
> > +//#endif
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/

Content-Description: pgsql-7.1-koi8-u.jdbc.patch

[ Attachment, skipping... ]

--
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-patches by date

  From Date Subject
Next Message Joseph Shraibman 2001-05-04 01:26:26 patch for datetime.c
Previous Message Bruce Momjian 2001-05-03 23:02:46 Re: Fwd: Re: Re: patch to support KOI8-U <==> UTF-8 conversions (2nd try)