Re: PostgreSQL Handling of Special Characters - Mailing list pgsql-sql

From Markus Bertheau
Subject Re: PostgreSQL Handling of Special Characters
Date
Msg-id 684362e10603192009s28a0afe4m@mail.gmail.com
Whole thread Raw
In response to PostgreSQL Handling of Special Characters  ("Christian Paul B. Cosinas" <cpc@cybees.com>)
Responses Re: PostgreSQL Handling of Special Characters
List pgsql-sql
2006/3/20, Christian Paul B. Cosinas <cpc@cybees.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


pgsql-sql by date:

Previous
From: "Christian Paul B. Cosinas"
Date:
Subject: PostgreSQL Handling of Special Characters
Next
From: "Christian Paul B. Cosinas"
Date:
Subject: Re: PostgreSQL Handling of Special Characters