I am trying to convert a Shift_JIS formatted file into UTF-8 format. For this, below is my approach:
Finally i found the solution. Was doing some very basic mistake. Below code is working perfectly fine:
InputStream inputStream = getContentResolver().openInputStream(uri);
BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream, "Shift_JIS"));
byte[] b = line.getBytes();
String value = new String(b, "UTF-8");