diff --git a/src/cpp/Crypto/mnemonic.cpp b/src/cpp/Crypto/mnemonic.cpp index a3b40d77d..4582c81f0 100644 --- a/src/cpp/Crypto/mnemonic.cpp +++ b/src/cpp/Crypto/mnemonic.cpp @@ -300,7 +300,15 @@ std::string Mnemonic::getCompleteWordListSorted() words.sort(compare_nocase); //std::string toReplaced[] = { "auml", "ouml", "uuml", "Auml", "Ouml", "Uuml", "szlig" }; - Poco::RegularExpression toReplaced[] = { "ä", "ö", "ü", "Ä", "Ö", "Ü", "ß" }; + Poco::RegularExpression toReplaced[] = { + std::string("ä"), + std::string("ö"), + std::string("ü"), + std::string("Ä"), + std::string("Ö"), + std::string("Uuml;"), + std::string("ß") + }; std::string replaceStrings[] = { "ä", "ö", "ü", "Ä", "Ö", "Ü", "ß" }; int i = 0; for(auto it = words.begin(); it != words.end(); it++) {