title: exception thrown from TextChanged event for chinese input
body: <p>I am observing a crash while entering Text in Chinese language to <code>TextBox</code> with <code>TextChanged</code> event implemented.
  The text I am entering is "y "('y' preceding with space).
  When I tried to debug the issue in VS 2013, it is showing below exception  in <code>TextChanged</code> Event.</p>
  
  <blockquote>
    <p>ExcecutionEngineException unhandled</p>
  </blockquote>
  
  <p>Can somebody help me out on this.
  below is sample code for the mentioned event.</p>
  
  <pre><code>private void txtBox_TextChanged(object sender, TextChangedEventArgs e)
  {
       this.Language = System.Windows.Markup.XmlLanguage.GetLanguage(System.Threading.Thread.CurrentThread.CurrentCulture.IetfLanguageTag.ToString());
       var txtB = (TextBox)sender;
       if (10 &lt; txtB.Text.Length)
       {
           txtB.Text = "";
       }
  }
  </code></pre>