Declaration
public static string FilenameCharactersEscape(
this string input,
bool includeNonAscii = false
)
Summary
Escapes all characters in this string which cannot form part of a valid filename on at least one supported
filesystem. The escaping is fully reversible (via
StringExtensions.FilenameCharactersUnescape(this string)), but does not
treat characters at specific positions differently (e.g. the "." at the end of the name is not escaped, even
though it will disappear on a Win32 system).