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

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

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/

Attachment Content-Type Size
pgsql-7.1-koi8-u.jdbc.patch application/x-unknown 1.1 KB

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2001-05-03 22:45:54 Re: Fwd: Re: Re: patch to support KOI8-U <==> UTF-8 conversions (2nd try)
Previous Message Tom Lane 2001-05-03 22:13:02 Re: View permissions in 7.1