aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/authentication/t/002_saslprep.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/authentication/t/002_saslprep.pl b/src/test/authentication/t/002_saslprep.pl
index 0c18528e7af..7e373ed7bf4 100644
--- a/src/test/authentication/t/002_saslprep.pl
+++ b/src/test/authentication/t/002_saslprep.pl
@@ -42,9 +42,10 @@ SKIP:
{
skip "authentication tests cannot run on Windows", 12 if ($windows_os);
- # Initialize master node
+ # Initialize master node. Force UTF-8 encoding, so that we can use non-ASCII
+ # characters in the passwords below.
my $node = get_new_node('master');
- $node->init;
+ $node->init(extra => ['--locale=C', '--encoding=UTF8']);
$node->start;
# These tests are based on the example strings from RFC4013.txt,