Change wchar2char() and char2wchar() to accept a locale_t.

Jeff Davis <jdavis@postgresql.org>

Commit: 53cd0b71ee2e99c611a38ce58636a04d5dde4cc1
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2025-07-09T15:45:34Z
Change wchar2char() and char2wchar() to accept a locale_t.

These are libc-specific functions, so should require a locale_t rather
than a pg_locale_t (which could use another provider).

Discussion: https://postgr.es/m/a8666c391dfcabe79868d95f7160eac533ace718.camel%40j-davis.com

Files

Discussion