mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 00:52:51 +00:00
on our Debian build server does not support C++11 <codecvt>, so the utf8 to utf16 conversion was replaced with Boost counterparts.
16 lines
441 B
C++
16 lines
441 B
C++
#ifndef slic3r_ASCIIFolding_hpp_
|
|
#define slic3r_ASCIIFolding_hpp_
|
|
|
|
#include <string>
|
|
|
|
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
|
|
|
|
#endif /* slic3r_ASCIIFolding_hpp_ */
|