pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joel Fradkin <jfradkin@wazagua.com>
To: 'John DeSoi' <desoi@pgedit.com>
Cc: aarni@kymi.com
Cc: pgsql-sql@postgresql.org
Subject:  RE: [SQL] RE: [SQL] trrouble inserting stuff like é
Date: Fri, 18 Feb 2005 16:03:11 -0500
Message-ID: <000001c515fd$42ade910$797ba8c0@jfradkin> (raw)
In-Reply-To: <986DAB00-81ED-11D9-9C09-000A95B03262@pgedit.com>

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@wazagua.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@pgedit.com] 
Sent: Friday, February 18, 2005 3:42 PM
To: Joel Fradkin
Cc: aarni@kymi.com; pgsql-sql@postgresql.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




view thread (7+ messages)  latest in thread

Message-ID: <000001c515fd$42ade910$797ba8c0@jfradkin>
Permalink:  ../000001c515fd$42ade910$797ba8c0@jfradkin/
Also on:    postgresql.org/message-id/000001c515fd$42ade910$797ba8c0@jfradkin

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jfradkin@wazagua.com, desoi@pgedit.com, aarni@kymi.com
  Subject: Re:  RE: [SQL] RE: [SQL] trrouble inserting stuff like é
  In-Reply-To: <000001c515fd$42ade910$797ba8c0@jfradkin>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox