Re: Unicode comment on Postgres vs Sql Server

Поиск
Список
Период
Сортировка
От Stephane Bortzmeyer
Тема Re: Unicode comment on Postgres vs Sql Server
Дата
Msg-id 20080302202939.GA2915@sources.org
обсуждение исходный текст
Ответ на Unicode comment on Postgres vs Sql Server  ("Swaminathan Saikumar" <swami@giveexam.com>)
Список pgsql-general
On Sun, Mar 02, 2008 at 11:50:01AM -0800,
 Swaminathan Saikumar <swami@giveexam.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).

В списке pgsql-general по дате отправления:

Предыдущее
От: Karl Denninger
Дата:
Сообщение: Re: 8.2.6 > 8.3 blows up
Следующее
От: Tino Wildenhain
Дата:
Сообщение: Re: Unicode comment on Postgres vs Sql Server