Re: Does UCS_BASIC have the right CTYPE? - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Does UCS_BASIC have the right CTYPE?
Date
Msg-id 71c4418d44f8f677d5479b8aa8fb76268b975f0f.camel@j-davis.com
Whole thread Raw
In response to Re: Does UCS_BASIC have the right CTYPE?  ("Daniel Verite" <daniel@manitou-mail.org>)
List pgsql-hackers
On Thu, 2023-10-26 at 23:22 +0200, Daniel Verite wrote:
> Neither does Unicode, which is why the ICU functions like u_isupper()
> or u_toupper() don't take a locale argument.

u_strToUpper() accepts a locale argument:
https://unicode-org.github.io/icu-docs/apidoc/dev/icu4c/ustring_8h.html#aa64fbd4ad23af84d01c931d7cfa25f89

See also the part about tailorings here:
https://www.unicode.org/versions/Unicode15.1.0/ch03.pdf#G33992

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Document aggregate functions better w.r.t. ORDER BY
Next
From: Bruce Momjian
Date:
Subject: Re: Document parameter count limit