Gets the best-fit mapping behavior when converting Unicode characters to ANSI characters.
Assembly: mscorlib (in mscorlib.dll)
If best-fit mapping is false and ThrowOnUnmappableChar is true, all Unicode characters that require conversion to ANSI format will generate an exception when passed to unmanaged code. Some characters are unmappable, even when best-fit mapping is true. Some characters lack a best-fit representation; these characters are called unmappable. Unmappable characters are usually converted to the default '?' ANSI character.
Certain Unicode characters are converted to dangerous characters, such as the backslash '\' character, which can inadvertently change a path.
Windows Phone 8.1, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)