title: How to convert ucs2 encoded file to either UTF-8 or UTF-16 or ANSI encoding format using java
body: <p>I am getting XML file which is ucs-2 encoded. I want to convert this encoding to either UTF-8 or UTF -16 or ANSI using java code.</p>
  
  <p>Could you please help in this?</p>