Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WGHs2-0002NN-2S for pgsql-odbc@arkaria.postgresql.org; Thu, 20 Feb 2014 00:52:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WGHs1-0008O8-Ig for pgsql-odbc@arkaria.postgresql.org; Thu, 20 Feb 2014 00:52:09 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WGHs1-0008O2-0C for pgsql-odbc@postgresql.org; Thu, 20 Feb 2014 00:52:09 +0000 Received: from sd.tpf.co.jp ([210.161.239.34]) by makus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WGHrx-0005CT-EG for pgsql-odbc@postgresql.org; Thu, 20 Feb 2014 00:52:08 +0000 Received: (qmail 6636 invoked by uid 512); 20 Feb 2014 00:52:02 -0000 Received: from unknown (HELO ?100.0.33.224?) (100.0.33.224) by sd2.tpf-fw-c.co.jp with SMTP; 20 Feb 2014 00:52:02 -0000 Message-ID: <530551A5.7010104@tpf.co.jp> Date: Thu, 20 Feb 2014 09:51:49 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: =?UTF-8?B?TmlscyBHw7ZzY2hl?= , 'Heikki Linnakangas' CC: pgsql-odbc@postgresql.org Subject: Re: Null Characters in Strings, Version 9.3.1 References: <006a01cf28e4$7c425450$74c6fcf0$@de> <003201cf2ccb$c5d6ddd0$51849970$@de> <5303960F.3050706@vmware.com> <003b01cf2ce1$2e33bc80$8a9b3580$@de> <5303C2EA.7060109@vmware.com> <5303F655.8000200@tpf.co.jp> <001b01cf2d64$b93b6250$2bb226f0$@de> In-Reply-To: <001b01cf2d64$b93b6250$2bb226f0$@de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.5 (--) 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 (2014/02/19 20:21), Nils Gösche wrote: > Inoue-san wrote: > >> Maybe it's caused by the commit >> 3666c87c1440862bde2e6b8f43ee585deed70d31 >> Author: Hiroshi Inoue >> Date: Thu Aug 22 20:40:01 2013 +0900 >> >> When LF->CR+LF conversion causes an buffer truncation, supress the >> conversion (in case of unicode). >> >> Nils, please try to turn off *LF <-> CR/LF conversion* option. >> Anyway I can't think of the way to cure the problem other than putting >> back the commit. > > Ah, ok: If I set LFConversion=0, I get correct values in C#, without any null characters. But also without Ctrl-Ms! Too bad that our software has come to rely on the Ctrl-M conversion taking place already. If you think about the possibility of having both Windows and Unix clients working on the same database, I suppose having this conversion being done in the driver is not a bad thing. > > So, if you could make LFConversion work reliably again, I would be a happy camper :-) OK I already put back the commit. 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