]> granicus.if.org Git - postgresql/commit
Explicitly bind gettext() to the UTF8 locale when in use.
authorMagnus Hagander <magnus@hagander.net>
Tue, 27 May 2008 12:24:46 +0000 (12:24 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 27 May 2008 12:24:46 +0000 (12:24 +0000)
commit4bdc7422310330f610a6da6c61e52e8adfabaaf7
tree4b9193ecdd70d266be9b21a9624f499bff3abb13
parented91252bc252e926595abf7886a9c2aac0e91801
Explicitly bind gettext() to the  UTF8 locale when in use.
This is required on Windows due to the special locale
handling for UTF8 that doesn't change the full environment.

Fixes crash with translated error messages per bugs 4180
and 4196.

Tom Lane
src/backend/utils/mb/mbutils.c