Re: BUG #4451: initcap() function capitalizes incorrectly

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: BUG #4451: initcap() function capitalizes incorrectly
Дата
Msg-id 48E9C64B.7080306@hagander.net
обсуждение исходный текст
Ответ на BUG #4451: initcap() function capitalizes incorrectly  ("Scott V" <datagenic@gmail.com>)
Ответы Re: BUG #4451: initcap() function capitalizes incorrectly  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Scott V wrote:
> The following bug has been logged online:
>
> Bug reference:      4451
> Logged by:          Scott V
> Email address:      datagenic@gmail.com
> PostgreSQL version: 8.3.1
> Operating system:   Mac OS X 10.5.4
> Description:        initcap() function capitalizes incorrectly
> Details:
>
> initcap() capitalizes incorrectly when passing strings containing certain
> two-byte UTF-8 characters. E.g., when argument = 'mātūrāte', initcap
> returns 'MāTūRāTe'. Correct result should be 'Mātūrāte'.
>
> The function appears to be incorrectly interpreting the two-byte chars as
> non-alphamueric characters. They are in fact alphanumerics, they just have
> diacritical markings.

What's your setting for lc_collate?

//Magnus

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: BUG #4410: Indexes not seen right away
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: index bloat in 8.4-dev