From 4bbe328117687ca34889cff4c72e237b25417379 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Thu, 14 Dec 2017 13:47:22 +0100 Subject: Config wizard will prompt user to copy the profiles from Slic3r to Slic3rPE if the datadir is left to the default value (which is Slic3r), and Slic3rPE directory exists. --- xs/src/libslic3r/utils.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xs/src/libslic3r') diff --git a/xs/src/libslic3r/utils.cpp b/xs/src/libslic3r/utils.cpp index ee579161f..ef05dcae7 100644 --- a/xs/src/libslic3r/utils.cpp +++ b/xs/src/libslic3r/utils.cpp @@ -193,6 +193,7 @@ confess_at(const char *file, int line, const char *func, namespace Slic3r { +// Encode an UTF-8 string to the local code page. std::string encode_path(const char *src) { #ifdef WIN32 @@ -210,6 +211,7 @@ std::string encode_path(const char *src) #endif /* WIN32 */ } +// Encode an 8-bit string from a local code page to UTF-8. std::string decode_path(const char *src) { #ifdef WIN32 -- cgit v1.2.3