From 58906e1a60460d0d451d7652bc472986eae64f55 Mon Sep 17 00:00:00 2001 From: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com> Date: Wed, 27 Dec 2023 20:56:48 +0700 Subject: [PATCH] desktop (windows): fixed handling non-utf8 Windows profile names (#3605) --- src/Simplex/Chat/Mobile.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Simplex/Chat/Mobile.hs b/src/Simplex/Chat/Mobile.hs index d7f2e5a43c..3671844d7f 100644 --- a/src/Simplex/Chat/Mobile.hs +++ b/src/Simplex/Chat/Mobile.hs @@ -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 <-