Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anMM8-0001r6-CU for pgsql-odbc@arkaria.postgresql.org; Tue, 05 Apr 2016 08:29:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1anMM7-0004QI-Ps for pgsql-odbc@arkaria.postgresql.org; Tue, 05 Apr 2016 08:28:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1anMLl-00041L-9I for pgsql-odbc@postgresql.org; Tue, 05 Apr 2016 08:28:37 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1anMLh-0005iv-0u for pgsql-odbc@postgresql.org; Tue, 05 Apr 2016 08:28:36 +0000 Received: from msg.df7cb.de (wan3.credativ.com [94.79.138.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3qfMSb4SV5z3DxB; Tue, 5 Apr 2016 10:28:31 +0200 (CEST) Date: Tue, 5 Apr 2016 10:28:31 +0200 From: Christoph Berg To: "Inoue, Hiroshi" Cc: pgsql-odbc@postgresql.org Subject: Re: Regression test failures on big endian Message-ID: <20160405082831.GA4327@msg.df7cb.de> Mail-Followup-To: Christoph Berg , "Inoue, Hiroshi" , pgsql-odbc@postgresql.org References: <20160318211558.GA7269@msg.df7cb.de> <20160402220602.GB2042@msg.df7cb.de> <5702F6C6.6010707@dream.email.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <5702F6C6.6010707@dream.email.ne.jp> User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.9 (--) 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 Re: Inoue, Hiroshi 2016-04-05 <5702F6C6.6010707@dream.email.ne.jp> > Hi Christoph, >=20 > Sorry for the late reply. Thanks for the reply :) > >>! '1234567' (int4) as SQL_C_BINARY: hex: 87D61200 > >>! '1234567' (int4) as SQL_C_BINARY: hex: 0012D687 >=20 > The difference above is a natural outcome from the difference of endianne= ss. Ah, on a second look that's indeed the case. I'll blame myself for still not being comfortable with reading "context" diffs where original and changed version are way apart. Thanks for confirming this is an expected change. I'll proceed to submit some _1.out files. > >>! '' (text) as SQL_C_WCHAR: \FF00\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FF= FF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FF= FF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FF= FF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF (truncated) > >>! '' (text) as SQL_C_WCHAR: \ FF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FF= FF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FF= FF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FF= FF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF\FFFF (truncated) >=20 > The difference above means that encoding of Unicode is UTF-16LE whichever > the endianness is. Ew. There should be a law forbidding everything except UTF-8 :) > Is it as you expected? Thanks for the confirmation! Christoph --=20 Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc