diff --git a/test/commands/electrum-new.cpp b/test/commands/electrum-new.cpp index c2f355c52..57a037338 100644 --- a/test/commands/electrum-new.cpp +++ b/test/commands/electrum-new.cpp @@ -46,6 +46,12 @@ BOOST_AUTO_TEST_CASE(electrum_new__invoke__en_dictionary_prefix__okay_output) BOOST_AUTO_TEST_CASE(electrum_new__invoke__es_dictionary_prefix__okay_output) { + // Required for proper initialization of a non-ascii dictionary in vc++. + set_utf8_stdout(); + + // Verify the UTF8 initialization. + BOOST_REQUIRE(bc::wallet::language::es[0] == std::string("ábaco")); + BX_DECLARE_COMMAND(electrum_new); command.set_seed_argument({ "05e669b4270f4e25bce6fc3736170d423c" }); command.set_language_option({ "es" });