RE: [SQL] RE: [SQL] trrouble inserting stuff like é

From: "Joel Fradkin" <jfradkin(at)wazagua(dot)com>
To: "'John DeSoi'" <desoi(at)pgedit(dot)com>
Cc: <aarni(at)kymi(dot)com>, <pgsql-sql(at)postgresql(dot)org>
Subject: RE: [SQL] RE: [SQL] trrouble inserting stuff like é
Date: 2005-02-18 21:03:11
Message-ID: 000001c515fd$42ade910$797ba8c0@jfradkin
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I did that and it did not work.
On the .net driver I had to do it on the connect string.

I also just tested latin and see the lower and upper do not work on the
French chars, while upper and lower do work on the French chars on a Unicode
database. So the problem is getting the odbc driver to work with Unicode.
Worst case I will just use SQL_ASCHII, I am guessing the ODBC driver does
not have a encoding command like the .net one does.

Joel Fradkin

Wazagua, Inc.
2520 Trailmate Dr
Sarasota, Florida 34243
Tel. 941-753-7111 ext 305

jfradkin(at)wazagua(dot)com
www.wazagua.com
Powered by Wazagua
Providing you with the latest Web-based technology & advanced tools.
© 2004. WAZAGUA, Inc. All rights reserved. WAZAGUA, Inc
This email message is for the use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and delete and destroy
all copies of the original message, including attachments.

-----Original Message-----
From: John DeSoi [mailto:desoi(at)pgedit(dot)com]
Sent: Friday, February 18, 2005 3:42 PM
To: Joel Fradkin
Cc: aarni(at)kymi(dot)com; pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] RE: [SQL] trrouble inserting stuff like é

On Feb 18, 2005, at 11:15 AM, Joel Fradkin wrote:

> How do I tell the connection to use Unicode?

Try

SET client_encoding TO 'UNICODE';

http://www.postgresql.org/docs/8.0/interactive/sql-set.html

But it should default to the database encoding, so I'm not sure if that
is the problem.

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Bret Hughes 2005-02-19 01:59:54 what does ONLY do
Previous Message John DeSoi 2005-02-18 20:42:24 Re: RE: [SQL] trrouble inserting stuff like é