From: | Stephane Bortzmeyer <bortzmeyer(at)nic(dot)fr> |
---|---|
To: | Swaminathan Saikumar <swami(at)giveexam(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Unicode comment on Postgres vs Sql Server |
Date: | 2008-03-02 20:29:39 |
Message-ID: | 20080302202939.GA2915@sources.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sun, Mar 02, 2008 at 11:50:01AM -0800,
Swaminathan Saikumar <swami(at)giveexam(dot)com> wrote
a message of 30 lines which said:
> Postgres has this encoding setting at the database level.
Which is simpler, IMHO. "One encoding to rule them all"
> I am using UTF8 Unicode for most of my data, but there is some data
> that I know for sure will be ASCII. However, this is also stored as
> UTF8, using up more space.
Excuse me, but this shows a serious ignorance of UTF-8. A character of
the ASCII range, in UTF-8, is stored in one byte, exactly the same
size as ASCII (any ASCII file is an UTF-8 file, that's an important
property of UTF-8).
From | Date | Subject | |
---|---|---|---|
Next Message | Leif B. Kristensen | 2008-03-02 20:32:05 | Re: Unicode comment on Postgres vs Sql Server |
Previous Message | Karl Denninger | 2008-03-02 20:28:05 | Re: 8.2.6 > 8.3 blows up |