SQL_ASCII

From: Dennis Björklund <db(at)zigo(dot)dhs(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: SQL_ASCII
Date: 2003-06-09 06:26:19
Message-ID: Pine.LNX.4.44.0306090820060.17926-100000@zigo.dhs.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

What is the character encoding SQL_ASCII? I managed to store 8-bit latin1
characters in such a database by mistake and got errors when I tried to
get it out with a client encoding set to utf-8. I got strings out that was
not valid utf-8 strings.

From that I draw the conclusion that it's not restricted to old fashion
7-bit bit ascii.

My guess now is that it allows you to put in 8-bit values but that these
characters are unknown and just returned no matter what client encoding?
And when the client encoding is utf-8 it produces invalid strings.

--
/Dennis

Browse pgsql-general by date

  From Date Subject
Next Message Aurangzeb M. Agha 2003-06-09 06:40:37 Question: script to start DB on server reboot
Previous Message The Hermit Hacker 2003-06-09 05:08:43 Re: Estimate of when CVS will be available again?