desktop (windows): fixed handling non-utf8 Windows profile names (#3605)

This commit is contained in:
Stanislav Dmitrenko 2023-12-27 20:56:48 +07:00 committed by GitHub
parent ed3d234826
commit 58906e1a60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ cChatMigrateInitKey fp key keepKey conf background ctrl = do
setFileSystemEncoding utf8
setForeignEncoding utf8
dbPath <- peekCAString fp
dbPath <- peekCString fp
dbKey <- BA.convert <$> B.packCString key
confirm <- peekCAString conf
r <-