Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YYzIr-0001ND-NH for pgsql-odbc@arkaria.postgresql.org; Fri, 20 Mar 2015 15:57:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YYzIr-0003ZO-6W for pgsql-odbc@arkaria.postgresql.org; Fri, 20 Mar 2015 15:57:41 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YYzIq-0003ZI-Ku for pgsql-odbc@postgresql.org; Fri, 20 Mar 2015 15:57:40 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YYzIn-0001NH-BK for pgsql-odbc@postgresql.org; Fri, 20 Mar 2015 15:57:38 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id AF47220C84 for ; Fri, 20 Mar 2015 11:57:33 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Fri, 20 Mar 2015 11:57:36 -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=PUXOwtkUFI1L4bDVZjlO3+gJv9c=; b=lh9IJ20Y6xZPLbH5CY fUTVHcebosrncNb0rKIsTFFYIhb6EhNOpAI/8e/js1W66eTijJa0cIMBo3BRb3WC XHeJooxbM5KI3+hrOW8vSeOpITXtmBZr4jpAk8AjUJokf8aG/4Qs+ZNtDChnyoCj tPY0bO0ruOOYU1KXqxQSst5g8= 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=PUXOwtkUFI1L4bDVZjlO3+ gJv9c=; b=dJO34/7NcC0FOGnkY/rLHBR7q6c+952OiK9/0QBWizMpP6C0n+/HB1 l52Pig+TwNrbBOC9SNyfpk9D8mWJFqZ5G/p0o/0NV3qQz0xfKUtKpPtRVFKEYu9j j3sFttllLQR0j1oqrGi6g1YOcH7kja+w07LwbjVJy10fhfJs4oX8U= X-Sasl-enc: VwTrWsnI+4NoglxRtDDLU7tT+4pImiuLrwdFaoMvd+QF 1426867055 Received: from killi.site (unknown [173.160.167.74]) by mail.messagingengine.com (Postfix) with ESMTPA id 774806800F3; Fri, 20 Mar 2015 11:57:35 -0400 (EDT) Message-ID: <550C436E.6050905@aklaver.com> Date: Fri, 20 Mar 2015 08:57:34 -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> 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 08:48 AM, Kadri Raudsepp wrote: > Sorry, didn't see the first question at first - I haven't been able to > find a way to specify encoding with openquery, every attempt has > resulted in syntax errors. Just to be certain you are talking about?: https://msdn.microsoft.com/en-us/library/ms188427.aspx Some more questions: 1) Where is your Postgres server and on what OS? 2) Do you have pgAdmin(http://www.pgadmin.org/) or the psql client installed on the Windows machine? If so does running a query through them show the correct results? > > 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