mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
Fix passphrase word lists not rendering with UTF-8
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Some checks failed
CodeQL / Analyze (push) Has been cancelled
* Fixes #11599
This commit is contained in:
parent
e76e9d42c7
commit
fb022cb5e9
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue