title: Read a CSV file from the Internet
body: <p>I'm trying to read data (stock prices) from a CSV file on the Internet, but instead I received something like this:</p>
  
  <pre><code>(function() {
      var ga = document.createElement('script');
      ga.type = 'text/javascript';
      ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0];
      s.parentNode.insertBefore(ga, s);
  })();
  </code></pre>
  
  <p>Here is my code:</p>
  
  <pre><code>public static void main(String[] args) {
      try {
          URL url12 = new URL("http://www.cophieu68.com/export/excel.php?id=BBS");
          URLConnection urlConn = url12.openConnection();
          InputStreamReader inStream = new InputStreamReader(urlConn.getInputStream());
          BufferedReader buff = new BufferedReader(inStream);
          String content1 = buff.readLine();
          String content2 = buff.readLine();
          while (content2 != null) {
              System.out.println(content2);
              content2 = buff.readLine();
          }
      } catch (Exception e) {
          System.out.print("KHONG TAI DUOC DU LIEU");
      }
  }
  </code></pre>
  
  <p>Any ideas?</p>