From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-sql@postgresql.org
Subject: SQL_ASCII and UNICODE server_encoding
Date: Mon, 16 Aug 2004 16:56:29 +0300 (EEST)
Message-ID: <Pine.LNX.4.44.0408161640340.29016-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0408061216510.6004-100000@matrix.gatewaynet.com>
Hi,
i'd like to ask if there is any difference in server_encoding
SQL_ASCII and UNICODE (there must be
one since the different terms), but
AFAIU
-databases which store in SQL_ASCII (i.e. server_encoding=SQL_ASCII)
have no problem storing 8bit chars with the first bit set.
-databases with server_encoding=UNICODE actually store in UTF-8 encoding
-The purpose of UTF-8 is to make possible that multibyte chars can
be stored in systems that represent chars in 8 bits
-So SQL_ASCII is fine for UTF-8, hence multibyte UNICODE.
So if SQL_ASCII should be fine for UTF-8 storage.
(here i must have missed something, tho..), whats
the purpose of server_encoding=UNICODE?
--
-Achilleus
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: achill@matrix.gatewaynet.com
Subject: Re: SQL_ASCII and UNICODE server_encoding
In-Reply-To: <Pine.LNX.4.44.0408161640340.29016-100000@matrix.gatewaynet.com>
* 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