X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 00C908BA10D for ; Fri, 18 Feb 2005 18:21:43 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 01502-06 for ; Fri, 18 Feb 2005 18:21:41 +0000 (GMT) Received: from vms042.mailsrvcs.net (unknown [206.46.252.42]) by svr1.postgresql.org (Postfix) with ESMTP id 9C70D8BA100 for ; Fri, 18 Feb 2005 18:21:40 +0000 (GMT) Received: from jfradkin ([66.15.127.235]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IC400CUQDO3OPD0@vms042.mailsrvcs.net> for pgsql-odbc@postgresql.org; Fri, 18 Feb 2005 12:21:40 -0600 (CST) Date: Fri, 18 Feb 2005 13:25:27 -0500 From: "Joel Fradkin" Subject: encoding using the odbc driver To: Message-id: <000001c515e7$393aca30$797ba8c0@jfradkin> MIME-version: 1.0 Content-type: multipart/alternative; boundary="----=_NextPart_000_0001_01C515BD.5064C230" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=3.19 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, HTML_MESSAGE, MSGID_DOLLARS X-Spam-Level: *** X-Archive-Number: 200502/90 X-Sequence-Number: 4980 This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C515BD.5064C230 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I changed my encoding from SQL_ASCII to UNICODE. I believe the Unicode is supposed to support more languages? Any how the ODBC driver does not appear to support setting the encoding? I was able to use the .net driver and get the same error, and then add the encoding=Unicode to the connection string and save ok, but we have many asp pages where I will need the odbc not the .net driver. Any one have a work around or am I totally missing something? I tired a SQL statement SET client_encoding= 'UNICODE'; just to see if it helped, but no dice. Joel Fradkin ------=_NextPart_000_0001_01C515BD.5064C230 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I changed my encoding from SQL_ASCII to = UNICODE.

I believe the Unicode is supposed to support more = languages?

 

Any how the ODBC driver does not appear to support = setting the encoding?

 

I was able to use the .net driver and get the same = error, and then add the encoding=3DUnicode to the connection string and save = ok, but we have many asp pages where I will need the odbc not the .net = driver.

 

Any one have a work around or am I totally missing something?
I tired a SQL statement
SET = client_encoding=3D 'UNICODE'; just to see if it helped, but no dice.

 

 

 

Joel Fradkin

 

 

------=_NextPart_000_0001_01C515BD.5064C230--