title: Parsing HTML with Jsoup issue in Android Application
body: <p>I am new to android development. I am using Jsoup to parse an URL to get the file location.</p>
  
  <p>Below is the code I have for parsing the URL, It works for most of the URL I inserted.
  For example, <code>www.baidu.com/</code> or <code>www.nba.com/</code>, the title Logged is exactly same as shown in the page source.</p>
  
  <p>However, for <code>http://music.baidu.com/</code> the title displayed in the Eclipse Log is different from the page resource.</p>
  
  <p>Eclipse shows: <code>百度音乐</code></p>
  
  <p>Page Resource shows: <code>&lt;title&gt;百度音乐-中国第一音乐门户&lt;/title&gt;</code></p>
  
  <p>(This is the most important one I want to solve.)</p>
  
  <p>For <code>http://music.baidu.com/search?key=%E5%86%8D%E8%A7%81%E7%8E%8B%E5%AD%90+%E6%A3%89%E8%8A%B1%E7%B3%96</code></p>
  
  <p>Eclipse again shows <code>百度音乐</code></p>
  
  <p>Page Resource shows <code>&lt;title&gt;搜索含有"再见王子 棉花糖"的音乐_百度音乐-中国第一音乐门户&lt;/title&gt;</code></p>
  
  <p>Also, for those 2 webpage, nothing is in Element links, so the <code>Log.d("text", link.text());</code> never returns anything.</p>
  
  <p>I notice that the 2 webpages source does not have <code>&lt;meta http-equiv="content-type" content="text/html;charset=utf-8"&gt;</code> in HTML like other HTML has.</p>
  
  <pre><code>package com.example.htmlparser;
  
  import java.io.IOException;
  
  import org.jsoup.Jsoup;
  import org.jsoup.nodes.Document;
  import org.jsoup.nodes.Element;
  import org.jsoup.select.Elements;
  
  import android.app.Activity;
  import android.os.Bundle;
  import android.util.Log;
  
  public class MainActivity extends Activity {
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          //set layout view
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          Thread downloadThread = new Thread() {                     
              public void run() {            
                  Document doc;                                      
                  try {                                                        
                      String url = "";
                      doc = Jsoup.connect(url).get();
                      //doc = Jsoup.parse(new URL(url).openStream(), "UTF-8", url);
                      String title = doc.title();
                      Log.d("title", title);
  
                      Elements links = doc.select("a[href]");
                      for (Element link : links) {
                          //Log.d("link", link.attr("href").toString());
                          Log.d("text", link.text());
                      }                
                  } catch (IOException e) {                          
                      Log.d("exception", e.toString());
                  }
              }
          };
          downloadThread.start();    
      }
  }
  </code></pre>
  
  <p>Can someone help me to solve this problem?</p>