OutputStreamWriter « File Input Output « Java






1.new OutputStreamWriter(fos, "UTF8")new OutputStreamWriter(fos,
2.Writing UTF-8 Encoded Data
3.Writing ISO Latin-1 Encoded Data