Closed kalmarg closed 12 years ago
Filtering with non standard characters makes complete GridSettings.Where equals to null.
Solution:
in public static Filter Create(string jsonData) change the method of generating bytes to MemoryStream from the used method to
var ms = new System.IO.MemoryStream(Encoding.Convert(Encoding.Default, Encoding.UTF8, Encoding.Default.GetBytes(jsonData)));
Kalmarg could you make a pull request with the fix and unit test?
Filtering with non standard characters makes complete GridSettings.Where equals to null.
Solution:
in public static Filter Create(string jsonData) change the method of generating bytes to MemoryStream from the used method to
var ms = new System.IO.MemoryStream(Encoding.Convert(Encoding.Default, Encoding.UTF8, Encoding.Default.GetBytes(jsonData)));