mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Implements SPE-159 "substitute accented letters with non-accented ones"
This commit is contained in:
parent
efeda3dcdc
commit
0bd9918643
5 changed files with 1965 additions and 0 deletions
14
xs/src/slic3r/Utils/ASCIIFolding.hpp
Normal file
14
xs/src/slic3r/Utils/ASCIIFolding.hpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
#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 std::string &src);
|
||||
|
||||
}; // namespace Slic3r
|
||||
|
||||
#endif /* slic3r_ASCIIFolding_hpp_ */
|
Loading…
Add table
Add a link
Reference in a new issue