title: Jsoup Whitelist: Parsing non-english character
body: <p>I am trying to clean HTML text and to extract plain text from it using <a href="http://jsoup.org/" rel="nofollow">Jsoup</a>. The HTML might contain non-english character. </p>
  
  <p>For example the HTML text is:</p>
  
  <pre><code>String html = "&lt;p&gt;Á &lt;a href='http://example.com/'&gt;&lt;b&gt;example&lt;/b&gt;&lt;/a&gt; link.&lt;/p&gt;";
  </code></pre>
  
  <p>Now if I use <a href="http://jsoup.org/apidocs/org/jsoup/Jsoup.html#parse%28java.lang.String%29" rel="nofollow"><code>Jsoup#parse(String html)</code></a>:</p>
  
  <pre><code>String text = Jsoup.parse(html).text();
  </code></pre>
  
  <p>It is printing:</p>
  
  <pre><code>Á example link.
  </code></pre>
  
  <p>And if I clean the text using <a href="http://jsoup.org/apidocs/org/jsoup/Jsoup.html#clean%28java.lang.String,%20org.jsoup.safety.Whitelist%29" rel="nofollow"><code>Jsoup#clean(String bodyHtml, Whitelist whitelist)</code></a>:</p>
  
  <pre><code>String text = Jsoup.clean(html, Whitelist.none());
  </code></pre>
  
  <p>It is printing:</p>
  
  <pre><code>&amp;Aacute; example link.
  </code></pre>
  
  <p>My question is, how can I get the text </p>
  
  <pre><code>Á example link.
  </code></pre>
  
  <p>using <code>Whitelist</code> and <code>clean()</code> method? I want to use <code>Whitelist</code> since I might be needed to use <a href="http://jsoup.org/apidocs/org/jsoup/safety/Whitelist.html#addTags%28java.lang.String...%29" rel="nofollow"><code>Whitelist#addTags(String... tags)</code></a>.</p>
  
  <p>Any information will be very helpful to me.</p>
  
  <p>Thanks.</p>