pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Miguel Juan <mjuan@cibal.es>
To: Dave Page <dpage@vale-housing.co.uk>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Unicode support
Date: Thu, 1 Sep 2005 12:05:37 +0200
Message-ID: <005501c5aedc$b3692de0$07c8a8c0@Miguel> (raw)
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9DC4@ratbert.vale-housing.co.uk>

Hello Dave,

I'm just trying the last fix (for BDE) and I can see some odd behavior.

- It shows the TEXT fields as MEMO. But you can see the data if you make a 
double click on it. It looks like it doesn't use the "text as LongVarchar" 
option (this works in version 7.x).

- After a "SELECT * FROM table" The Borland SQL Explorer shows an error 
('Invalid Blob Handle') for empty TEXT fields (NULL) when you try to view 
them. This works fine for table view.

- After an error inserting a row ('not null' constraint) it closes the 
connection (dead connection error)


Regards,

Miguel Juan




----- Original Message ----- 
From: "Dave Page" <dpage@vale-housing.co.uk>
To: "Miguel Juan" <mjuan@cibal.es>
Cc: <pgsql-odbc@postgresql.org>
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" <dpage@vale-housing.co.uk>
> To: "Anoop Kumar" <anoopk@pervasive-postgres.com>
> Cc: <pgsql-odbc@postgresql.org>
> 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
>
>
>





view thread (32+ messages)  latest in thread

Message-ID: <005501c5aedc$b3692de0$07c8a8c0@Miguel>
Permalink:  ../005501c5aedc$b3692de0$07c8a8c0@Miguel/
Also on:    postgresql.org/message-id/005501c5aedc$b3692de0$07c8a8c0@Miguel

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: mjuan@cibal.es, dpage@vale-housing.co.uk
  Subject: Re: Unicode support
  In-Reply-To: <005501c5aedc$b3692de0$07c8a8c0@Miguel>
  References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9DC4@ratbert.vale-housing.co.uk> <005501c5aedc$b3692de0$07c8a8c0@Miguel>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox