Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V52rZ-0004LU-3e for pgsql-odbc@arkaria.postgresql.org; Fri, 02 Aug 2013 00:04:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V52rY-0007RX-Jy for pgsql-odbc@arkaria.postgresql.org; Fri, 02 Aug 2013 00:04:56 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V52rY-0007RR-2N for pgsql-odbc@postgresql.org; Fri, 02 Aug 2013 00:04:56 +0000 Received: from sd.tpf.co.jp ([210.161.239.34]) by makus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V52rU-00056t-T6 for pgsql-odbc@postgresql.org; Fri, 02 Aug 2013 00:04:55 +0000 Received: (qmail 6862 invoked by uid 512); 2 Aug 2013 00:04:51 -0000 Received: from unknown (HELO ?127.0.0.1?) (100.126.1.62) by sd2.tpf-fw-c.co.jp with SMTP; 2 Aug 2013 00:04:51 -0000 Message-ID: <51FAF7A0.9070503@tpf.co.jp> Date: Fri, 02 Aug 2013 09:04:48 +0900 From: "Inoue, Hiroshi" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Barry Bell CC: "Frank A. U." , psql-odbc Subject: Re: B7 option References: <4D51A19E0157604B94159573456A98FA2E7ACE07@BLUPRD0811MB413.namprd08.prod.outlook.com> <51F9D3F3.60807@tpf.co.jp> <4D51A19E0157604B94159573456A98FA2E7ACF9B@BLUPRD0811MB413.namprd08.prod.outlook.com> In-Reply-To: <4D51A19E0157604B94159573456A98FA2E7ACF9B@BLUPRD0811MB413.namprd08.prod.outlook.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.7 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org (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