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
|
| Список | 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 по дате отправления: