30 July 2004 - java_dev (original) (raw)
| | 02:08 pm - cyb3rj - 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. |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |