X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2BBD7D1B453 for ; Tue, 25 Nov 2003 18:48:04 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 16047-01 for ; Tue, 25 Nov 2003 14:47:32 -0400 (AST) Received: from ms001msg.fastwebnet.it (ms001msg.fastwebnet.it [213.140.2.51]) by svr1.postgresql.org (Postfix) with ESMTP id 7D7E9D1B447 for ; Tue, 25 Nov 2003 14:47:31 -0400 (AST) Received: from ropelxp (1.40.84.105) by ms001msg.fastwebnet.it (6.7.019) id 3FC228730003FEC4 for pgsql-odbc@postgresql.org; Tue, 25 Nov 2003 19:47:20 +0100 Message-ID: <008701c3b384$93ba7030$0100a8c0@ropelxp> From: "Ropel" To: References: <6C0CF58A187DA5479245E0830AF84F420AF84F@poweredge.attiksystem.ch> Subject: Re: MS Access, Unicode, Conversions & Foreign languages characters Date: Tue, 25 Nov 2003 19:47:22 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/109 X-Sequence-Number: 3511 About speed improvements: I've noticed more than once that exporting, dropping, creating and restoring a database I obtain a consistent speed improvement not reachable with just vacuum analyzing. I'm just planning to see if index clustering o reindexing can give the same effect without throwing away and recreating everything (this second operation is obviously possible only putting the DB off-line and I refuse doing such a thing just for speed improvements, what if I need to operate with HUGE DB ??!!!) ----- Original Message ----- From: "Philippe Lang" To: "PostgreSQL ODBC" Sent: Tuesday, November 25, 2003 6:03 PM Subject: Re: [ODBC] MS Access, Unicode, Conversions & Foreign languages characters Hi, Just in case it could help anyone: when you create a database in PG, you can specify an encoding. For french, I use LATIN1, and the result is perfect. I can see the accents in Access, with the latest (non-unicode) ODBC driver. But that's not all! I have noticed an huge speed improvement. The database was quick before, now it is even better. A database that needed more than 20 seconds to be created now only needs 5 seconds. Can that be due to the new encoding, or to the fact I have dropped and created the database again? -----Message d'origine----- De : Philippe Lang Envoyé : dimanche, 16. novembre 2003 14:24 À : PostgreSQL ODBC Objet : [ODBC] MS Access, Unicode, Conversions & Foreign languages characters Hello, Did anyone find a solution to the problem of foreign languages character encoding, when data is accessed through MS Access 2000? Characters with accents appear correctly in PG Admin 3.0, but not when they go through ODBC. I have read different things on the subject: The drivers supports Unicode UTF-9, but Access requires Unicode UCS-2, for example. Is there a workaround, for example by forcing a special encoding when doing a "CREATE DATABASE", or by using a "CREATE CONVERSION"? I'm using the latest driver. Thanks ------------------------- Philippe Lang Attik System http://www.attiksystem.ch ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend