From 11266a9eb6569b95dbb4e73abcd79d15d1fdcdd9 Mon Sep 17 00:00:00 2001
From: "Dmitriy A. Gerasimov" <dmitriy.gerasimov@demlabs.net>
Date: Sat, 2 Jan 2021 17:50:35 +0700
Subject: [PATCH] [*] Upd

---
 cellframe-sdk           | 2 +-
 sources/main_node_cli.c | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/cellframe-sdk b/cellframe-sdk
index 07430ae..4cabd8c 160000
--- a/cellframe-sdk
+++ b/cellframe-sdk
@@ -1 +1 @@
-Subproject commit 07430ae3d01f86406883d035c63f0718d5f13ed1
+Subproject commit 4cabd8c495bba6fdfcf4d123d6d96592dd4338a3
diff --git a/sources/main_node_cli.c b/sources/main_node_cli.c
index 2f2c601..a171323 100644
--- a/sources/main_node_cli.c
+++ b/sources/main_node_cli.c
@@ -196,6 +196,8 @@ int main(int argc, const char *argv[])
     dap_set_appname("dapcash-node");
 
 #ifdef _WIN32
+    SetConsoleCP(1252);
+    SetConsoleOutputCP(1252);
     g_sys_dir_path = dap_strdup_printf("%s/%s", regGetUsrPath(), dap_get_appname());
 #elif DAP_OS_MAC
     g_sys_dir_path = dap_strdup_printf("/Applications/%s.app/Contents/Resources", dap_get_appname());
-- 
GitLab