Fix the new SASLprep tests to work with non-UTF-8 locales.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 9025af3ed039dd3bb9286b5af2fbdb29b9eb204e
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2017-04-08T10:32:38Z
Releases: 10.0
Fix the new SASLprep tests to work with non-UTF-8 locales.

Fix by forcing database encoding to UTF-8, regardless of the current
locale.

Pointed out by Tom Lane.

Discussion: https://www.postgresql.org/message-id/8934.1491614631@sss.pgh.pa.us

Files

PathChange+/−
src/test/authentication/t/002_saslprep.pl modified +3 −2

Discussion