Re: ODBC Driver stability

From: Benjamin Riefenstahl <Benjamin(dot)Riefenstahl(at)epost(dot)de>
To: Jaime Casanova <systemguards(at)yahoo(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: ODBC Driver stability
Date: 2004-11-13 14:01:32
Message-ID: m3ekixzw3n.fsf@seneca.benny.turtle-trading.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi Jaime,

Jaime Casanova writes:
> The database has sql_ascii
>
>> What Spanish character do you mean?
>
> ñ, Ñ, á, é, í, ó, ú

Just to support and emphasize what Dave already said:

Because there are no Spanish characters in ASCII (ASCII is a 7 bit
encoding), a database in SQL_ASCII may do anything with those
characters. Change the database encoding to LATIN9 (if you only need
Spanish plus the Euro character) or UNICODE (if you may need to
support other languages in the future).

> matrícula become matr||ula
> peña become pe°a

IOW, the database or the ODBC driver has replaced the non-ASCII
characters with ASCII characters that have the same code point but
modulo 128 (throwing away the highest bit). That is a common
behaviour for ASCII-only systems, e.g. also often seen in email. This
behaviour can not be reversed after it has happened.

benny

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Jaime Casanova 2004-11-13 23:31:27 Re: ODBC Driver stability
Previous Message Philippe Lang 2004-11-13 13:30:36 Re: Getting the last inserted id