On 19.04.21 07:42, Thomas Munro wrote:
> It looks
> like one possibility, since Vista, is to call
> GetUserDefaultLocaleName()[2], which doesn't appear to have been
> discussed before on this list. That doesn't allow you to ask for the
> default for each individual category, but I don't know if that is even
> a concept for Windows user settings.
pg_newlocale_from_collation() doesn't support collcollate != collctype
on Windows anyway, so that wouldn't be an issue.