FileWriter vs FileOutputStream
This might be old hat to some of you here, but I recently learned a costly (time) lesson.
FileWriter writes out characters in the default character encoding of the machine doing the processing.
FileOutputStream writes in bytes.
If you don't want your output "converted" to the default character encoding of the machine doing the processing, use FileOutputStream.
FileWriter writes out characters in the default character encoding of the machine doing the processing.
FileOutputStream writes in bytes.
If you don't want your output "converted" to the default character encoding of the machine doing the processing, use FileOutputStream.
