Skip to content

Commit

Permalink
Fix passphrase word lists not rendering with UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
droidmonkey committed Dec 27, 2024
1 parent e76e9d4 commit fb022cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/PassphraseGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ void PassphraseGenerator::setWordList(const QString& path)
}

QTextStream in(&file);
in.setCodec("UTF-8");
QString line = in.readLine();
bool isSigned = line.startsWith("-----BEGIN PGP SIGNED MESSAGE-----");
if (isSigned) {
Expand Down

0 comments on commit fb022cb

Please sign in to comment.