From: Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
To: Jaime Casanova <systemguards@yahoo.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: ODBC Driver stability
Date: Sat, 13 Nov 2004 15:01:32 +0100
Message-ID: <m3ekixzw3n.fsf@seneca.benny.turtle-trading.net> (raw)
In-Reply-To: <20041112225648.52022.qmail@web50002.mail.yahoo.com>
References: <20041112225648.52022.qmail@web50002.mail.yahoo.com>
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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: Benjamin.Riefenstahl@epost.de, systemguards@yahoo.com
Subject: Re: ODBC Driver stability
In-Reply-To: <m3ekixzw3n.fsf@seneca.benny.turtle-trading.net>
References: <20041112225648.52022.qmail@web50002.mail.yahoo.com> <m3ekixzw3n.fsf@seneca.benny.turtle-trading.net>
* 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