Re: PostgreSQL Handling of Special Characters

From: "Markus Bertheau" <mbertheau(dot)pg(at)googlemail(dot)com>
To: "Christian Paul B(dot) Cosinas" <cpc(at)cybees(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: PostgreSQL Handling of Special Characters
Date: 2006-03-20 04:09:24
Message-ID: 684362e10603192009s28a0afe4m@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

2006/3/20, Christian Paul B. Cosinas <cpc(at)cybees(dot)com>:

> Let's say a character of 150 ASCII code. Which looks like a hypen.
>
> When I retrieve the value of that field it gives me a question mark
> character instead of that 150 ASCII code character.
>
> What could be the possible reason of this?

Perhaps the ODBC driver thinks SQL_ASCII means ASCII and therefore
discards all bytes > 127. On PostgreSQL SQL_ASCII really means
SQL_ANYTHING, so to speak. Try to use for the database the encoding
you really use.

Markus Bertheau

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Christian Paul B. Cosinas 2006-03-20 05:48:03 Re: PostgreSQL Handling of Special Characters
Previous Message Christian Paul B. Cosinas 2006-03-20 03:30:02 PostgreSQL Handling of Special Characters