A few months I described how I handled the encoding bug of the WebBrowser control in WP7. Unfortunately it was not just a problem with the “smart quotes” but also with all non western characters, and the naïve solution to the problem caused a performance problem. Let’s see how I solved it. The problem I needed a more general purpose character replacing procedure, like the second one I mentioned in the previous post: foreach (char value in strText)
{
int decValue = int.Parse(string.Format("{0:x4}", (int)value),
...