Re: BUG #15805: Problem with lower function for greek sigma (Σ) letter

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #15805: Problem with lower function for greek sigma (Σ) letter
Дата
Msg-id 13376.1557935189@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #15805: Problem with lower function for greek sigma(Σ) letter  ("Daniel Verite" <daniel@manitou-mail.org>)
Ответы Re: BUG #15805: Problem with lower function for greek sigma (Σ) letter  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-bugs
"Daniel Verite" <daniel@manitou-mail.org> writes:
>     PG Bug reporting form wrote:
>> lower('ΔΗΜΟΤΕΣ ΦΑΙΣΤΟΥ') =
>> "δημοτεσ φαιστου" instead of "δημοτες φαιστου"

> With PostgreSQL version 10 or newer, you could use an ICU
> locale. lower() would produce the expected result:

Oh, if using ICU already fixes this, I think we might as well just
say that you have to use ICU if you want the right behavior for such
cases.

> The libc library provides an API with character-by-character
> case conversions (tolower/toupper), which is too limited
> to deal with the above cases, and PostgreSQL basically
> just uses this API.

Right.

            regards, tom lane



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

Предыдущее
От: "Daniel Verite"
Дата:
Сообщение: Re: BUG #15805: Problem with lower function for greek sigma(Σ) letter
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: BUG #15805: Problem with lower function for greek sigma (Σ) letter