Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ASCIIFolding.hpp « Utils « slic3r « src - github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 55f56482d6de134af3152bcd037a01dfbc83b55d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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_ */