Latest fixes for multilingual support.

This commit is contained in:
Storm Dragon
2026-02-27 23:47:21 -05:00
parent c658bb6cd7
commit e999b2ff5c
3 changed files with 17 additions and 16 deletions

View File

@@ -45,7 +45,8 @@ bool is_windows_reserved_filename(const string& in upperName) {
return false;
}
string sanitize_filename_base_with_reserved_prefix(string name, const int maxLength = 40, const string fallback = "item",
string sanitize_filename_base_with_reserved_prefix(string name, const int maxLength = 40,
const string fallback = "item",
const string reservedPrefix = "file_") {
string normalized = normalize_name_whitespace(name);
string result = "";