Thread: Re: [HACKERS] ODBC Driver 7.02.0001 (Win32) (Unicode mode): CRLF->LF

Re: [HACKERS] ODBC Driver 7.02.0001 (Win32) (Unicode mode): CRLF->LF

From
Hiroshi Inoue
Date:
"Julian Mehnle, Linksystem Muenchen" wrote:
>
> Hi all!
>
> Recently I tried to use the new 7.02.0001 Win32 ODBC driver in the new
> (beta) Unicode mode in conjunction with MS Access 2000 and a "UNICODE"
> encoded database stored in a PostgreSQL 7.2.1 database running on a
> Linux system.
>
> I noticed that when the "LF<->CRLF Conversion" option is *enabled* in
> the driver's settings dialog, only a CRLF->LF conversion (while writing
> to the database) is performed, but no LF->CRLF conversion (while reading
> from the database)!

Could you try the snapshot dll at http://w2422.nsk.ne.jp/~inoue/ ?

regards,
Hiroshi Inoue
    http://w2422.nsk.ne.jp/~inoue/



Hiroshi Inoue <Inoue@tpf.co.jp> wrote:
> Julian Mehnle <j.mehnle@buero.link-m.de> wrote:
> > Recently I tried to use the new 7.02.0001 Win32 ODBC driver in the new
> > (beta) Unicode mode in conjunction with MS Access 2000 and a "UNICODE"
> > encoded database stored in a PostgreSQL 7.2.1 database running on a
> > Linux system.
> >
> > I noticed that when the "LF<->CRLF Conversion" option is *enabled* in
> > the driver's settings dialog, only a CRLF->LF conversion (while writing
> > to the database) is performed, but no LF->CRLF conversion (while reading
> > from the database)!
>
> Could you try the snapshot dll at http://w2422.nsk.ne.jp/~inoue/ ?

There are several versions and I don't know which one you mean:
- psqlodbc.dll (version 7.02.0001),
- psqlodbc.dll (the multibyte version),
- psqlodbc30.dll (7.02.0001 ODBC3.0 trial driver),
- psqlodbc30.dll (the multibyte version),
- another trial driver(7.02.0001 + ODBC3.0 + Unicode)?

Please give me a hint! :-)

Julian Mehnle.




Re: [HACKERS] ODBC Driver 7.02.0001 (Win32) (Unicode mode): CRLF->LF

From
Hiroshi Inoue
Date:
Julian Mehnle wrote:
>
> Hiroshi Inoue <Inoue@tpf.co.jp> wrote:
> > Julian Mehnle <j.mehnle@buero.link-m.de> wrote:
> > > Recently I tried to use the new 7.02.0001 Win32 ODBC driver
> > > in the new (beta) Unicode mode in conjunction with MS Access
> > > 2000 and a "UNICODE" encoded database stored in a PostgreSQL
> > > 7.2.1 database running on a Linux system.
> > >
> > > I noticed that when the "LF<->CRLF Conversion" option is
> > > *enabled* in the driver's settings dialog, only a CRLF->LF
> > > conversion (while writing to the database) is performed,
> > > but no LF->CRLF conversion (while reading from the database)!
> >
> > Could you try the snapshot dll at http://w2422.nsk.ne.jp/~inoue/ ?
>
> There are several versions and I don't know which one you mean:
> - psqlodbc.dll (version 7.02.0001),
> - psqlodbc.dll (the multibyte version),
> - psqlodbc30.dll (7.02.0001 ODBC3.0 trial driver),
> - psqlodbc30.dll (the multibyte version),
> - another trial driver(7.02.0001 + ODBC3.0 + Unicode)?

The last one because you seem to be using Unicode driver.

regards,
Hiroshi Inoue
    http://w2422.nsk.ne.jp/~inoue/



Hiroshi Inoue <Inoue@tpf.co.jp> wrote:
> Julian Mehnle <j.mehnle@buero.link-m.de> wrote:
> > Recently I tried to use the new 7.02.0001 Win32 ODBC driver in the new
> > (beta) Unicode mode in conjunction with MS Access 2000 and a "UNICODE"
> > encoded database stored in a PostgreSQL 7.2.1 database running on a
> > Linux system.
> >
> > I noticed that when the "LF<->CRLF Conversion" option is *enabled* in
> > the driver's settings dialog, only a CRLF->LF conversion (while writing
> > to the database) is performed, but no LF->CRLF conversion (while reading
> > from the database)!
>
> Could you try the snapshot dll at http://w2422.nsk.ne.jp/~inoue/ ?

Yeah, it does *not* exhibit the faulty CRLF<->LF conversion behavior. Is
this a custom build of the ODBC driver done by you? Will the official driver
be fixed soon?

Regards,
Julian Mehnle.




Re: [HACKERS] ODBC Driver 7.02.0001 (Win32) (Unicode mode): CRLF->LF

From
Hiroshi Inoue
Date:
Julian Mehnle wrote:
>
> Yeah, it does *not* exhibit the faulty CRLF<->LF conversion behavior.
> Is this a custom build of the ODBC driver done by you? Will the
> official driver be fixed soon?

I would commit the fix to cvs this week.

regards,
Hiroshi Inoue
    http://w2422.nsk.ne.jp/~inoue/