From: Inoue, Hiroshi <inoue@tpf.co.jp>
To: Barry Bell <Barry_Bell@harte-hanks.com>
Cc: Frank A. U. <fau@email.com>
Cc: psql-odbc <pgsql-odbc@postgresql.org>
Subject: Re: B7 option
Date: Fri, 02 Aug 2013 09:04:48 +0900
Message-ID: <51FAF7A0.9070503@tpf.co.jp> (raw)
In-Reply-To: <4D51A19E0157604B94159573456A98FA2E7ACF9B@BLUPRD0811MB413.namprd08.prod.outlook.com>
References: <4D51A19E0157604B94159573456A98FA2E7ACE07@BLUPRD0811MB413.namprd08.prod.outlook.com>
<51F9D3F3.60807@tpf.co.jp>
<4D51A19E0157604B94159573456A98FA2E7ACF9B@BLUPRD0811MB413.namprd08.prod.outlook.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
(2013/08/01 21:36), Barry Bell wrote:
> If there a is a LF(char(10) inside a string and the B7=1, the string returned by the driver will cut off 1 character for each LF(chr(10) inside the string.
> If the B7=0 the full string si returned.
>
> Field='ABC (LF)123'
>
> Ex: B7=1
> Field='ABC (LF)12'
> EX B7=0:
> Field='ABC (LF)123'
>
> Any idea why a chr(10) (LF) in a field would cause this?
Seems there are some bugs in LF<->CRLF conversions.
I would examine it.
Anyway please specify *LFconversion=0* or *C5=0* in your
connection string to suppress LF<->CRLF conversion.
regards,
Hiroshi Inoue
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
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: inoue@tpf.co.jp, Barry_Bell@harte-hanks.com, fau@email.com
Subject: Re: B7 option
In-Reply-To: <51FAF7A0.9070503@tpf.co.jp>
References: <4D51A19E0157604B94159573456A98FA2E7ACE07@BLUPRD0811MB413.namprd08.prod.outlook.com> <51F9D3F3.60807@tpf.co.jp> <4D51A19E0157604B94159573456A98FA2E7ACF9B@BLUPRD0811MB413.namprd08.prod.outlook.com> <51FAF7A0.9070503@tpf.co.jp>
* 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