What I'm trying to do: http://stackoverflow.com/questions/2...393966#2393966
edit: HttpUtility isn't available because System.Web isn't recognized... any way to get around this? Making iOS app if that makes any difference.
- string decomposed = input.Normalize(System.Text.NormalizationForm.FormD);
- char filtered = decomposed.Where(c => char.GetUnicodeCategory(c) != System.Globalization.UnicodeCategory.NonSpacingMark).ToArray();
- string newString = new String(filtered);
Unity doesn't like the .Where(). Is there a way to get that to work or is there a way I can just rewrite it?
edit: using System.Linq; got it to compile. thanks to Zerot on irc