X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E5CA3D88E4 for ; Thu, 1 Sep 2005 06:05:48 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 55711-01 for ; Thu, 1 Sep 2005 09:05:47 +0000 (GMT) Received: from mail.cibal.es (97.Red-80-59-70.pooles.rima-tde.net [80.59.70.97]) by svr1.postgresql.org (Postfix) with ESMTP id 8C927D88E1 for ; Thu, 1 Sep 2005 06:05:43 -0300 (ADT) Received: from Miguel ([192.168.200.7]) by cibal.es (mail.cibal.es [192.168.200.2]) (MDaemon.PRO.v8.0.1.R) with ESMTP id md50000033334.msg for ; Thu, 01 Sep 2005 11:07:27 +0200 Message-ID: <004c01c5aed4$50fffa60$07c8a8c0@Miguel> From: "Miguel Juan" To: "Dave Page" Cc: References: Subject: Re: Unicode support Date: Thu, 1 Sep 2005 11:05:35 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Spam-Processed: mail.cibal.es, Thu, 01 Sep 2005 11:07:27 +0200 (not processed: message from valid local sender) X-MDRemoteIP: 192.168.200.7 X-Return-Path: mjuan@cibal.es X-MDaemon-Deliver-To: pgsql-odbc@postgresql.org X-MDAV-Processed: mail.cibal.es, Thu, 01 Sep 2005 11:07:29 +0200 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 required=5 tests=[FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200509/55 X-Sequence-Number: 5953 ----- Original Message ----- From: "Dave Page" To: "Miguel Juan" Cc: Sent: Thursday, September 01, 2005 10:32 AM Subject: RE: [ODBC] Unicode support Yes please - attached. > -----Original Message----- > From: Miguel Juan [mailto:mjuan@cibal.es] > Sent: 01 September 2005 09:25 > To: Dave Page > Cc: pgsql-odbc@postgresql.org > Subject: Re: [ODBC] Unicode support > > hello, > > I will try it with BDE environment if you want. > > Regards, > > Miguel Juan > > > ----- Original Message ----- > From: "Dave Page" > To: "Anoop Kumar" > Cc: > Sent: Tuesday, August 30, 2005 11:36 PM > Subject: [ODBC] Unicode support > > > Hi Anoop and anyone else who might be interested, > > I've been thinking about how the Unicode support might be improved to > allow the old 07.xx non-unicode style behaviour to work for those that > need it. At them moment, when we connect using on of the wide connect > functions, the CC->unicode flag is set to true. This only > affects a few > options, such as pgtype_to_concise_type()'s mapping of PG types to SQL > types. > > It seems to me that perhaps we should set CC->unicode = 1, only upon > connection to a Unicode database. Anything else, we leave it > set to 0 so > that it always maps varchars etc to ANSI types, and handles other > encodings in single byte or non-unicode multibyte mode (which worked > fine in 07.xx where those encodings where appropriate, such as SJIS in > Japan). This should also help BDE based apps, which further > research has > shown me are broken with Unicode columns in SQL Server and Oracle as > well as PostgreSQL (search unicode + BDE on Google Groups for more). > > Am I seeing a possible improvement where in fact there isn't one, or > missing some obvious downside? > > Regards, Dave. > > ---------------------------(end of > broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster > > >