pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: SQL_ASCII and UNICODE server_encoding
Date: Mon, 16 Aug 2004 17:42:02 +0300 (EEST)
Message-ID: <Pine.LNX.4.44.0408161741160.29055-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <13567.1092668673@sss.pgh.pa.us>

O kyrios Tom Lane egrapse stis Aug 16, 2004 :

> Achilleus Mantzios <achill@matrix.gatewaynet.com> writes:
> > 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?
> 
> If you use SQL_ASCII, the server will *store* Unicode just fine, but
> it won't *know* it is Unicode.  So if you just want raw data storage
> it doesn't matter.  If you would like to sort the data, upper-case 
> or lower-case it, or have automatic conversions to different client
> encodings, you had better tell the server the truth about what it
> is storing.

Thanx, i guess i didnt realize the value of conversion,sorting,etc...

> 
> 			regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
>                http://archives.postgresql.org
> 

-- 
-Achilleus




view thread (3+ messages)  latest in thread

Message-ID: <Pine.LNX.4.44.0408161741160.29055-100000@matrix.gatewaynet.com>
Permalink:  ../Pine.LNX.4.44.0408161741160.29055-100000@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.44.0408161741160.29055-100000@matrix.gatewaynet.com

 · 

reply

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-sql@postgresql.org
  Cc: achill@matrix.gatewaynet.com, tgl@sss.pgh.pa.us
  Subject: Re: SQL_ASCII and UNICODE server_encoding
  In-Reply-To: <Pine.LNX.4.44.0408161741160.29055-100000@matrix.gatewaynet.com>
  References: <13567.1092668673@sss.pgh.pa.us> <Pine.LNX.4.44.0408161741160.29055-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