mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
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:
parent
0bd9918643
commit
34a0f87395
2 changed files with 15 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue