Re: SQL_ASCII vs. 7-bit ASCII encodings

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: SQL_ASCII vs. 7-bit ASCII encodings
Дата
Msg-id 4282C586.5000404@familyhealth.com.au
обсуждение исходный текст
Ответ на SQL_ASCII vs. 7-bit ASCII encodings  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-hackers
> I suppose that we can't change the semantics of SQL_ASCII without
> backwards compatibility problems. I wonder if introducing a new encoding
> that only allows 7-bit ascii, and making that the default, is the way to
> go.

A while back I requested a new encoding that is '7BITASCII'.  It would 
be excellent for those of use who require that the data is ascii, latin1 
and utf8.

> This new encoding would be treated like any other normal encoding, i.e.
> setting client_encoding does transcoding (I expect that'd be a 1:1
> mapping in most or all cases) and rejects unmappable characters as soon
> as they're encountered.

Personally, I'd like UTF8 to be the default encoding :)  This is the 
21st century :D

Chris


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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: SQL_ASCII vs. 7-bit ASCII encodings
Следующее
От: Tom Lane
Дата:
Сообщение: Re: New Contrib Build?