From fd1acadecba6af24ce19ea296306189532ee53da Mon Sep 17 00:00:00 2001 From: sowle Date: Tue, 29 Oct 2019 19:40:15 +0300 Subject: [PATCH] mdbx unicode support: partially fixed (fix from mdbx is still required) --- src/common/db_backend_mdbx.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/common/db_backend_mdbx.cpp b/src/common/db_backend_mdbx.cpp index 9ee58ef8..55bf350c 100644 --- a/src/common/db_backend_mdbx.cpp +++ b/src/common/db_backend_mdbx.cpp @@ -56,10 +56,6 @@ namespace tools CHECK_AND_ASSERT_MESS_MDBX_DB(res, false, "Unable to mdbx_env_set_mapsize"); m_path = path_; -#ifdef WIN32 - m_path = epee::string_encoding::convert_ansii_to_utf8(m_path); -#endif - CHECK_AND_ASSERT_MES(tools::create_directories_if_necessary(m_path), false, "create_directories_if_necessary failed: " << m_path); res = mdbx_env_open(m_penv, m_path.c_str(), MDBX_NORDAHEAD , 0644);