Re: [pgsql-hackers-win32] UNICODE/UTF-8 on win32

Поиск
Список
Период
Сортировка
От John Hansen
Тема Re: [pgsql-hackers-win32] UNICODE/UTF-8 on win32
Дата
Msg-id 5066E5A966339E42AA04BA10BA706AE5625B@rodrick.geeknet.com.au
обсуждение исходный текст
Список pgsql-hackers
> currently, upper/lower does not work with 2+ byte unicode
> characters, on any OS under the C locale.

Btw,...

There are only 15 cases in the utf8 repertoire that depends on locale, these are the only cases where pg should report:

ERROR:  invalid multibyte character for locale
HINT:  The server's LC_CTYPE locale is probably incompatible with the database encoding.

When doing a select upper/lower (col)
All others should work just fine.

The error should probably also be changed to a warning, and just return the offending character unmodified.


... John

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

Предыдущее
От: "John Hansen"
Дата:
Сообщение: Re: [pgsql-hackers-win32] UNICODE/UTF-8 on win32
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Finding if old transactions are running...