Fixed the previous commit on Linux: The older GCC we are using

on our Debian build server does not support C++11 <codecvt>,
so the utf8 to utf16 conversion was replaced with Boost counterparts.
This commit is contained in:
bubnikv 2018-03-16 18:56:01 +01:00
parent 0bd9918643
commit 34a0f87395
2 changed files with 15 additions and 4 deletions

View file

@ -7,6 +7,7 @@ namespace Slic3r {
// If possible, remove accents from accented latin characters.
// This function is useful for generating file names to be processed by legacy firmwares.
extern std::string fold_utf8_to_ascii(const char *src);
extern std::string fold_utf8_to_ascii(const std::string &src);
}; // namespace Slic3r