title: What is Java's equivalent of Windows Notepad "Unicode Encoding"?
body: <p>I have tab-separated values which I need to export as a text file using Java, to be opened in Microsoft Excel. The problem arises when the tab-separated values have Chinese characters.</p>
  
  <p>I tried exporting the text file using UTF-8 but Excel is not able to interpret the characters. Then I opened the exported text file in Notepad and saved it as "Unicode" and it started showing the correct charters in Excel.</p>
  
  <p><img src="https://i.stack.imgur.com/xU2ZE.png" alt="enter image description here"></p>
  
  <p>So can someone tell me what is the Notepad "Unicode" equivalent in Java?</p>
  
  <p>My code is:</p>
  
  <pre><code>response.getOutputStream().write(reportHTML.getBytes("UTF-8"));
  </code></pre>
  
  <p>Where reportHTML has tab-separated values.</p>
  
  <p><a href="https://www.dropbox.com/s/5glcrjr5b27opwu/AccumGradebookRpt.txt" rel="nofollow noreferrer">This</a> is the text file with encoding as Unicode.</p>