X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id F1233D805A for ; Sun, 28 Aug 2005 17:49:28 -0300 (ADT) 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 84576-07 for ; Sun, 28 Aug 2005 20:49:27 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by svr1.postgresql.org (Postfix) with ESMTP id 3FF35D7F94 for ; Sun, 28 Aug 2005 17:49:26 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id 55so473349wri for ; Sun, 28 Aug 2005 13:49:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NCpwYznCXiXLOQJPid/mCFvN212/qcD8F1c54lGRoBNghgkvofdTCKUu4eVDSFjZB5MQZF0K7XVv282vvTomXmzZfhhC8BTA5lZvFRDYW8oSSvKHUy2W9ed2SEs5yDxL+d/AspO01MS6wrvIKPhOjnehVI1d426sRceMAO13w5E= Received: by 10.54.44.48 with SMTP id r48mr5775699wrr; Sun, 28 Aug 2005 13:49:28 -0700 (PDT) Received: by 10.39.1.20 with HTTP; Sun, 28 Aug 2005 13:49:24 -0700 (PDT) Message-ID: <8398dc6d050828134941a2c1aa@mail.gmail.com> Date: Sun, 28 Aug 2005 17:49:24 -0300 From: "Alejandro D. Burne" To: Andrus , pgsql-odbc@postgresql.org Subject: Re: Trouble with encoding again In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <8398dc6d0508240658290fc36e@mail.gmail.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.119 required=5 tests=[AWL=0.095, RCVD_BY_IP=0.024] X-Spam-Level: X-Archive-Number: 200508/219 X-Sequence-Number: 5858 2005/8/25, Andrus : >=20 > ""Alejandro D. Burne"" wrote in message > news:8398dc6d0508240658290fc36e@mail.gmail.com... > > Hi, I'll be trying to solve this workaround between postgres odbc > > 8.01.00.03 and VisualFoxPro(VFP) with spanish chars and unicode > > encoding. > > VFP''ve 2 ways to send info to rdbms: explicit or by reference: > > A little example (I think it's easy to understand) > > 1) conn=3DSQLCONNECT('odbc_entry','user','pwd') > > 2) SQLEXECUTE(conn,"INSERT INTO t1 VALUES ('=F1');)") > > 3) a=3D'=F1' > > 4) SQLEXECUTE(conn,"INSERT INTO t1 VALUES (?a);)") > > > > 1) Stablish connection > > 2) Works fine (explicit) > > 3) Var 'a' takes value =B4=F1=B4 > > 4) This doesn't work (by reference) >=20 > Use >=20 > 3) a=3D STRCONV('=F1',9) >=20 > Andrus. >=20 Thanks for your reply, but I'm not using UNICODE encoding, just LATIN10. Another tip is odbc driver 7.03.02.00 works fine (just SQLCancel() workaround problem) Alejandro