Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YZ2aV-0000ce-W2 for pgsql-odbc@arkaria.postgresql.org; Fri, 20 Mar 2015 19:28:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YZ2aV-0002EH-Ea for pgsql-odbc@arkaria.postgresql.org; Fri, 20 Mar 2015 19:28:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YZ2aU-0002CZ-Ep for pgsql-odbc@postgresql.org; Fri, 20 Mar 2015 19:28:06 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YZ2aQ-0006lS-AF for pgsql-odbc@postgresql.org; Fri, 20 Mar 2015 19:28:05 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2578020BA3 for ; Fri, 20 Mar 2015 15:27:58 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 20 Mar 2015 15:28:00 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= x-sasl-enc:message-id:date:from:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=PrmUXHBozW2CFc4rCbwENGERq+Q=; b=o7rG90K5TdLeiFyt+o zCjWF2ut95U+DirpHYIR8fLRquvhPgnZA+AUi01ZI3grjhlcq2NYrvtpjuL4BpyS qksBp/MwHNhuEMIi2wKtZa3OC5czGh2AJsP1f5CqrjvQV/lHp77dCdS22ybTtYmG 8hZUUlP/BZyCPHz96sHtC14hM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:message-id:date:from :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=PrmUXHBozW2CFc4rCbwENG ERq+Q=; b=lLSU6ettUSnDRL3oZ1299UJ73qRPKtkEqEcOuHo/C3bBkCBvkgoYT1 LHa8tSkuQI22N6mIUWt1wvQdHOL46t+eKqMfFeZB4BTylvsCdUpY7AjtzjxSeqfr 0RtBJoW00DXsF0no7G3zyy61279Gzi3TPNE5AnsmRpBIgGOrCqq0U= X-Sasl-enc: Zwg2i3NQrwXm2ojoQ22YvmoxIMCypDHn/3lqMwUZ6GpA 1426879680 Received: from killi.site (unknown [74.94.73.222]) by mail.messagingengine.com (Postfix) with ESMTPA id F287EC00013; Fri, 20 Mar 2015 15:27:59 -0400 (EDT) Message-ID: <550C74BF.9050703@aklaver.com> Date: Fri, 20 Mar 2015 12:27:59 -0700 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Kadri Raudsepp CC: pgsql-odbc@postgresql.org Subject: Re: Problem with client_encoding and PsqlODBC driver. References: <550C3851.1080808@aklaver.com> <550C436E.6050905@aklaver.com> <550C4D50.8030706@aklaver.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.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 On 03/20/2015 11:10 AM, Kadri Raudsepp wrote: > Thank you for trying to help, Adrian :) > > The links you sent I have already seen, no help unfortunately. I have > dug deep into SQL Server's soul and system tables and system > configuration and procedures and functions and anything I could think > of. I'm quite convinced by now that my issue is impossible to solve from > the SQL Server end and apart from the PgAdmin solution for getting the > correct characters in my data which requires a lot of additional steps > and time, the only hope is in the odbc driver itself, getting it somehow > not to override my latin1 client_encoding. I don't think it is. From the results you show most of the characters display correctly. This seems to me that the encoding on the receiving end is close but not an exact match. The only thing I have left to suggest is the MS ODBC Test utility: https://msdn.microsoft.com/en-us/library/ms712676%28v=vs.85%29.aspx Maybe getting closer to a raw connection will help id the problem. > > Thank you again and have a nice weekend! > Katie > -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc