mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-04 17:40:28 +00:00
FIX: [STUDIO-4164] charset problem in load printer config
Change-Id: Id1ee5108b70e926f822ca4f12715bd2255e5c272 (cherry picked from commit 8ea1abc1df9d1d1680f20c4f9f423360b9318ceb)
This commit is contained in:
@@ -83,7 +83,7 @@ bool json_diff::load_compatible_settings(std::string const &type, std::string co
|
||||
printer_version = version2;
|
||||
settings_base.clear();
|
||||
std::string config_file = Slic3r::resources_dir() + "/printers/" + type2 + ".json";
|
||||
std::ifstream json_file(config_file.c_str());
|
||||
boost::nowide::ifstream json_file(config_file.c_str());
|
||||
try {
|
||||
json versions;
|
||||
if (json_file.is_open()) {
|
||||
|
||||
Reference in New Issue
Block a user