give second parameter, "UTF-16" or "UTF-8" as encoding type, to the InputStream / OutputStream.
InputStreamReader ir = new InputStreamReader(fileinputstream, "UTF-16");
Regards,
Anadi KUMAR
Architecture and R2ds, Channels and Framework, Software Engineer | HSBC Technology and Services - Global Technology
HSBC Software Development (India)Limited
GLT 4.0 - Panchshil Tech. Park, Block D, S.No. 19, Hissa 2A/11/2, Yerawada, Pune, 411006.
India.
Mobile. +91 99822622054
Email.
anadikumar@hsbc.co.in
Email.
anadikumar@gmail.com