Merge branch 'master' of ssh://**REDACTED**/~/c++/gradido_login_server

This commit is contained in:
stroot 2020-07-21 12:16:50 +02:00
commit 9826a373cd

View File

@ -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++) {