Created
November 21, 2018 12:02
-
-
Save aliprogrammer69/3f001178c7205078c54f58725529e821 to your computer and use it in GitHub Desktop.
Change WebApi 2 Supported Encoding to encode new emojies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| httpConfiguration.Formatters.JsonFormatter.SupportedEncodings.Clear(); | |
| httpConfiguration.Formatters.JsonFormatter.SupportedEncodings.Add(System.Text.Encoding.Unicode);//utf-16le |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment