| От | Tom Lane |
|---|---|
| Тема | Re: Unicode upper() bug still present |
| Дата | |
| Msg-id | 1794.1066655148@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Unicode upper() bug still present (Hannu Krosing <hannu@tm.ee>) |
| Список | pgsql-hackers |
Hannu Krosing <hannu@tm.ee> writes:
>> It's been suggested that we could use <wctype.h> where available.
>> However there are a bunch of issues that would have to be solved to make
>> that happen. (How do we convert between the database character encoding
>> and the wctype representation?
> How do we do it for sorting ?
We don't --- strcoll() handles it all internally.
> It seems inconsistent that we do use locale-aware sorts but not
> upper/lower.
We do have locale-aware upper/lower ... but only in single-byte
encodings. I think it works for the 7-bit-ASCII subset of multibyte
encodings, too.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера