Minor
4.5
Planned
By default, decoding methods no longer decode an invalid input sequence into an invalid UTF-16 string. Instead, they return the original input.
- Quirked
- Build-time break
The change in decoder output should matter only if you store binary data instead of UTF-16 data in strings. To explicitly control this behavior, set the aspnet:AllowRelaxedUnicodeDecoding
attribute of the appSettings element to true to enable legacy behavior or to false to enable the current behavior.
M:System.Net.WebUtility.HtmlDecode(System.String)
M:System.Net.WebUtility.HtmlDecode(System.String,System.IO.TextWriter)
M:System.Net.WebUtility.UrlDecode(System.String)
ASP.NET