i m getting the clob data from db2 and storing in an list and then writing to a text file,but jappnese characters are not getting encoded.
Getting data from db2
if (rs != null) {
                int slNo = 0;
                BufferedReader reader = null;
                int counter = 0;
                // Read the list of content next
                while (rs.next() && !rs.isClosed()) {
                    // Reserve the first entry in the
                    // result List for header column
                    if (counter == 0) {
                        resultList.add(null);
                        counter++;
                    }
                    reader = new BufferedReader(new InputStreamReader(rs.getAsciiStream(1)));
                    slNo = rs.getInt(2);
                    if (slNo == 1) {
                        resultList.set(0, reader.readLine());
                    } else {
                        // result data
                        resultList.add(reader.readLine());
                           }}}
Writing to file
 FileOutputStream outObjectOutputStream = null;
 try {
        outObjectOutputStream = new FileOutputStream(absoluteFilePath);
        for (String line : resultList) {
            if (line != null) {
                outObjectOutputStream.write(line.getBytes());
                outObjectOutputStream.write("\n".getBytes());
                    }}'
