FIX: delete special symbol for filename

delete special symbol when plateName for filename

Change-Id: Ibb6b6603bc2ca040cb765dbedd013564ebcf3dff
(cherry picked from commit 840c085ae842e77b81de73def038fa9b417eac84)
This commit is contained in:
zhou.xu 2023-06-12 14:19:44 +08:00 committed by Lane.Wei
parent eca3d311d7
commit ca81c370fd
4 changed files with 21 additions and 5 deletions

View file

@ -7,7 +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 std::string &src);
extern std::string fold_utf8_to_ascii(const std::string &src,bool is_convert_for_filename=false);
// Convert the input UNICODE character to a string of maximum 4 output ASCII characters.
// Return the end of the string written to the output.